summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/README.md b/README.md
index 6b88493..a093a45 100644
--- a/README.md
+++ b/README.md
@@ -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: