nixos-anywhere
Install NixOS remotely on target machines.
Syntax
$nixos-anywhere [OPTIONS] --flake FLAKE HOST
Examples
Examples
$nixos-anywhere --flake .#server root@192.168.1.10
Examples
$nixos-anywhere --generate-hardware-config nixos-generate-config ./hw.nix root@host
Typical use cases
nixos-anywhere --flake .#server root@host
nixos-anywhere --generate-hardware-config ...
Note
Automates bare-metal/VM installation over SSH using flakes.
Export