LinuxCommandLibrary

nh-os

manages NixOS system configurations

TLDR

Switch to new configuration

$ nh os switch
copy
Build without switching
$ nh os build
copy
Test configuration
$ nh os test
copy
Boot into new configuration
$ nh os boot
copy

SYNOPSIS

nh os command [options]

DESCRIPTION

nh os manages NixOS system configurations. Friendly wrapper around nixos-rebuild with better output and flake support. Part of nh (nix helper) toolkit.

PARAMETERS

switch

Build and activate configuration.
build
Build configuration only.
test
Build and activate temporarily.
boot
Build and set as boot default.
--flake ref
Flake reference.
--dry
Dry run.
--ask
Ask before activation.

SEE ALSO

nh(1), nixos-rebuild(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community