From abda4274839bc7b5a80d5421aefeacf200aaa364 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 31 Jan 2019 10:45:32 -0800 Subject: Update readme --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6e98291..6b88493 100644 --- a/README.md +++ b/README.md @@ -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) -- cgit v1.2.3