-
Update the following inputs in flake.nix to use the new NixOS version:
nixpkgs
home-manager
stylix
-
Update state version for NixOS and Home Manager
2.1 Check the release notes if something needs to be changed.
2.2 Apply the changes if needed.
2.3 Update state version.
- NixOS:
system.stateVersion
in nixos/configuration.nix - Home Manager:
home.stateVersion
in home-manager/home.nix
- NixOS:
-
Update flake.lock to use the new inputs
nix flake update
-
Build the NixOS system with the new NixOS version, then reboot
sudo nixos-rebuild boot --flake ~/dotfiles reboot