nh-os
Reconfigure or debug a NixOS machine. tldr-pages
On several platforms
Several platforms
Build and switch to a specified NixOS flake configuration
nh os switch path/to/flakeIdentifyUpdate all the flake inputs of the specified NixOS flake configuration, build it, and make it the boot default
nh os boot path/to/flake --updateIdentifyBuild and activate a specified NixOS flake configuration specialisation
nh os test path/to/flake --specialisation specialisationIdentifyBuild a specified NixOS flake configuration host and create a symlink of the result from the Nix store in the current directory
nh os build-vm path/to/flake --hostname hostIdentifyLoad a specified NixOS flake configuration in Nix REPL (Nix evaluation environment)
nh os repl path/to/flakeIdentifyList all available generations from profile path
nh os infoIdentifyRoll back to a specified generation
nh os rollback -to generationIdentify