nh-os
Verified for current stable LTS
Nh Os Command: Build And Switch Nixos Flake Configuration
Use for build and switch nixos flake configuration with Nh Os. Exact CLI syntax to build and switch nixos flake configuration using Nh Os.
When to use this: Use for build and switch nixos flake configuration with Nh Os.
Command Syntax
nh os switch <path/to/flake> nh os switch <path/to/flake> Command Breakdown
nh is the base executable for this command.
FAQ
Purpose: Exact syntax to build and switch nixos flake configuration using Nh Os.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Nh Os Command: Build And Activate Nixos Flake Specialisation
nh os test <path/to/flake> -s <specialisation> Nh Os Command: Build Nixos Flake Host And Create Symlink nh os build-vm <path/to/flake> -H <host> Nh Os Command: List Available Generations From Profile nh os info Nh Os Command: Load Nixos Flake In Nix Repl nh os repl <path/to/flake> Nh Os Command: Rollback To Specified Generation nh os rollback -t <generation>