Usage Building NixOS config manually: sudo nixos-rebuild --flake .#hostname switch Upgrading the system implies updating the inputs one at a time: sudo nix flake lock --update-input <input> or all of them together: nix flake update --commit-lock-file