https://www.youtube.com/watch?v=Dy3KHMuDNS8 -> To turn my original config into a repository config https://www.youtube.com/watch?v=mJbQ--iBc1U -> To turn my config into a flake config
Wil T my beloved
Once cloned run:
- To update the lock file:
nix flake update
- To apply the system config:
sudo nixos-rebuild switch --flake .#MACHINE-NAME
- The machine names can be:
- locopc
- locotop
- The machine names can be:
- To apply the users config:
nix build .#homeConfigurations.USER.activationPackage
- The users can be:
- locochoco (needs to be run with the flag "impure" and the variables "NIXPKGS_ALLOW_INSECURE=1 NIXPKGS_ALLOW_UNFREE=1")
- The users can be:
I recommend creating script files for all of these commands.