Skip to content

nxbd switch-local

Deploy a NixOS configuration to the local system.

If no system is specified, it uses the current hostname as the flake attribute selector in the flake of the current working directory.

Arguments

system (optional)

System selection in flakes attribute syntax (e.g., .#hostname or github:user/repo#hostname). Defaults to .#<hostname> if not provided.

--ignore_hostname (optional)

Ignore hostname mismatch between system and configuration

--ignore_checks (optional)

Skip pre-deployment configuration checks