about summary refs log tree commit diff
path: root/users/flokli/nixos/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/flokli/nixos/default.nix')
-rw-r--r--users/flokli/nixos/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/flokli/nixos/default.nix b/users/flokli/nixos/default.nix
index ef035480450b..73b8e6f036db 100644
--- a/users/flokli/nixos/default.nix
+++ b/users/flokli/nixos/default.nix
@@ -6,7 +6,7 @@ let
   # assumes `name` is configured appropriately in your .ssh/config
   deployScript = name: sys: pkgs.writeShellScriptBin "deploy-${name}" ''
     set -eo pipefail
-    nix copy --no-check-sigs --to ssh-ng://${name} ${sys}
+    nix-copy-closure --to ${name} --gzip --use-substitutes ${sys}
     ssh ${name} nix-env --profile /nix/var/nix/profiles/system --set ${sys}
     ssh ${name} ${sys}/bin/switch-to-configuration switch
   '';