diff options
author | notgne2 | 2020-09-28 16:17:31 -0700 |
---|---|---|
committer | notgne2 | 2020-09-28 16:17:31 -0700 |
commit | edaed825650eea32878441d3b8c7eb40e8877882 (patch) | |
tree | ba0e313a5cd2711de11e9fe9d973073171519ee5 /examples/system/README.md | |
parent | 239d0f8999b47e9e76589ee1fa2d9f3459c47335 (diff) |
Add examples
Diffstat (limited to 'examples/system/README.md')
-rw-r--r-- | examples/system/README.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/system/README.md b/examples/system/README.md new file mode 100644 index 0000000..1dea41f --- /dev/null +++ b/examples/system/README.md @@ -0,0 +1,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!!! |