To run the config, download and install Nix and then run for your system:
To install NixOs should be done using the official installer: https://nixos.org/download/
- Niri on Wayland
sudo nixos-rebuild switch --flake "./nix-config#NixosNiri"WSL should be installed, and NixOs should be installed from here: https://github.com/nix-community/NixOS-WSL
- Running the flake
sudo nixos-rebuild switch --flake "./nix-config#WSL" --impureHere is recommended to use the installer from DeterminateSystems, can be found here: https://github.com/DeterminateSystems/nix-installer?tab=readme-ov-file#determinate-nix-installer
This is a especial case, the nix flake isn't able to install homebrew so it's necesary to run two commands.
- Installing Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- Running the flake
nix run nix-darwin -- switch --flake ~/Documents/dotfiles_nixosThe mouse is inverted, it's necessary to change 'Natural scrolling' to false. (and probably to increase the tracking speed).
There is more config, like Chrome windows that require modified shortcuts (still don't know if those are available here).
To build just your home-manager config, you can use this module. TODO: Add home-manager as standalone too to all configs.
home-manager switch --flake "./nix-config#desktopNiri"My configuration for the keyboard is stored at lily58_layout.json, can be applied using VIA