Work in progress.
This will clone the repository to ~/dev/nix and generate the system using flakes, it will use the hostname by default to see which modules to load.
nix-shell -p git --run "curl -fsSL https://raw.githubusercontent.com/jaycedam/nix/master/install.sh | bash"By default, the nix repo will be cloned to ~/dev/nix. You can modify the files directly in the repo for version control.
- Rebuild the system with
sudo nixos-rebuild switch --flake $HOME/dev/nix