This README is here mostly for me, but hey, welcome to my system config!
I am a beginner to NixOS. Which means I will have a lot of basic things added in this README for my future reference.
sudo nixos-rebuild switch --flake /etc/nixos#HOST_HERE
Note: in this flake, Home Manager is integrated into the NixOS configuration via the NixOS Home Manager module.
That means running nixos-rebuild switch will also apply your Home Manager config for that host/user.
home-manager switch --flake /etc/nixos#"USERNAME_HERE@HOST_HERE"
Use home-manager switch when:
- You want to apply only the user config without rebuilding the whole system, or
- You are managing a non-NixOS machine with Home Manager.
sudo nix-collect-garbage -d
nix flake update /etc/nixos
Then run the build command above again.