NixOS and Home Manager configurations To rebuild the system sudo nixos-rebuild switch --flake . To update user dotfiles home-manager switch --flake .