mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-11-29 09:42:05 +03:00
.. | ||
bare.nix | ||
common.nix | ||
configuration.nix | ||
flake.lock | ||
flake.lock.license | ||
flake.nix | ||
hello.nix | ||
nix-pub.pem | ||
nix-pub.pem.license | ||
nix.key | ||
nix.key.license | ||
README.md |
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.
- 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
nix run github:serokell/deploy
- ???
- PROFIT!!!