install nixos everywhere via ssh
Go to file
2022-11-22 21:38:11 +01:00
nixos-remote fix tar test 2022-11-12 11:52:57 +01:00
README.md README: extend 2022-11-22 21:38:11 +01:00

nixos-remote - install nixos everywhere via ssh

Usage

Needs a repo with your configurations with flakes. for a minimal example checkout https://github.com/Lassulus/flakes-testing.

Your NixOS configuration will also need a disko configuration as we can see in our example

Afterwards you can just run:

./nixos-remote root@yourip --flake github:your-user/your-repo#your-system

The parameter passed to --flake should point to your nixos configuration exposed in your flake (nixosConfigurations.your-system in the example above).

Currently nixos-remote requires that the network of the machine, offers DHCP for dynamic address configuration or else the booted nixos will not have any network set up.