deploy-rs/examples/system
2024-02-16 23:21:25 +10:30
..
bare.nix Add license information, reformat Nix files, clean up 2020-09-29 15:10:06 -07:00
common.nix Add license information, reformat Nix files, clean up 2020-09-29 15:10:06 -07:00
configuration.nix Add license information, reformat Nix files, clean up 2020-09-29 15:10:06 -07:00
flake.lock Update example flakes 2020-10-26 12:27:20 -07:00
flake.nix add support for entering password for sudo 2024-02-16 23:21:25 +10:30
hello.nix Add license information, reformat Nix files, clean up 2020-09-29 15:10:06 -07:00
nix-pub.pem Add examples 2020-09-28 16:17:31 -07:00
nix.key Add examples 2020-09-28 16:17:31 -07:00
README.md Fix examples/system/README.md: deploy -> deploy-rs 2021-02-27 11:11:53 +09:00

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
  1. nix run github:serokell/deploy-rs
  2. ???
  3. PROFIT!!!