diff options
author | Ben Sima <ben@bsima.me> | 2019-01-31 10:45:32 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-01-31 11:36:14 -0800 |
commit | abda4274839bc7b5a80d5421aefeacf200aaa364 (patch) | |
tree | db6c28cf5f2b192a194ce9fbe216d99468fb0067 /README.md | |
parent | 4673f3c954e9edb00e214de5b26aa94188597790 (diff) |
Update readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -4,7 +4,14 @@ To build the production server config locally: nix-build --attr system ./nixos.nix -To deploy: +To deploy manually after building: + + nix-build --attr system ./nixos.nix + nix copy --to "ssh://root@simatime.com" ./result + # manually copy the final /nix/store/... path and: + ssh root@simatime.com sudo /nix/store/.../bin/switch-to-configuration switch + +When that damn bug gets fixed, we could just do: nix-deploy --to root@simatime.com \ - --path $(nix-build --no-out-path ./nixos.nix) + --path $(nix-build --no-out-path ./nixos.nix) |