aboutsummaryrefslogtreecommitdiff
path: root/examples/system/README.md
blob: 1dea41fea085ad6ae683152556d395dfc20c2571 (plain)
1
2
3
4
5
6
7
8
9
10
# Example nixos system deployment

This is an example of how to deploy a full nixos system with a separate user unit to a bare machine.

1. Run bare system from `.#nixosConfigurations.bare`
  - `nix build .#nixosConfigurations.bare.config.system.build.vm`
  - `QEMU_NET_OPTS=hostfwd=tcp::2221-:22 ./result/bin/run-bare-system-vm`
2. `nix run github:serokell/deploy --prime`
3. ???
4. PROFIT!!!