From 26ddc3f3395229b4ed61eed8e0a227b38eae13b2 Mon Sep 17 00:00:00 2001 From: hexchen Date: Sun, 29 Nov 2020 04:55:43 +0000 Subject: [PATCH] deploy: substitute on nix copy --- lib/deploy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/deploy.nix b/lib/deploy.nix index 09d4350..aa730eb 100644 --- a/lib/deploy.nix +++ b/lib/deploy.nix @@ -56,7 +56,7 @@ let in '' ( echo "deploying ${hostname}..." - nix copy --no-check-sigs --to ssh://${hostAttrs.ssh.host} ${nixosSystem} + nix copy --no-check-sigs -s --to ssh://${hostAttrs.ssh.host} ${nixosSystem} ssh $NIX_SSHOPTS ${hostAttrs.ssh.host} "sudo nix-env -p /nix/var/nix/profiles/system -i ${nixosSystem}" ssh $NIX_SSHOPTS ${hostAttrs.ssh.host} "sudo /nix/var/nix/profiles/system/bin/switch-to-configuration $MODE $ARGS" ) &