diff options
author | Ben Sima <ben@bsima.me> | 2019-01-30 17:20:43 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-01-30 17:20:43 -0800 |
commit | 67ddf074edec7631067c5f634c3e56e0848cd11f (patch) | |
tree | c1d309daade3b6bbc507b845dd1c4c23b1ccdfca /README.md | |
parent | 6750622c47a90060159544c8c928ef3440a43ec9 (diff) |
Build production machine locally
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..6e98291 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Deployment + +To build the production server config locally: + + nix-build --attr system ./nixos.nix + +To deploy: + + nix-deploy --to root@simatime.com \ + --path $(nix-build --no-out-path ./nixos.nix) |