diff options
author | Ben Sima <ben@bsima.me> | 2019-02-01 09:44:19 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-02-01 09:44:42 -0800 |
commit | 14f481f541335e418a7d034e9587fcf90d015acb (patch) | |
tree | cb4c6fcb6327f964e9cdd796bd4b6c63dc748aaa /README.md | |
parent | 7ecd892c3d785b2ce1c3e0b8a90b921ef835d31a (diff) |
Add deploy script
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -4,12 +4,9 @@ To build the production server config locally: nix-build --attr system ./nixos.nix -To deploy manually after building: +To deploy (will ask for ssh passphrase 2x): - 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 + ./deploy.sh When that damn bug gets fixed, we could just do: |