diff --git a/flake.nix b/flake.nix index 938f6e1a..4170841e 100644 --- a/flake.nix +++ b/flake.nix @@ -45,8 +45,7 @@ "\"" else ""); in pkgs.writeScriptBin "${name}-nixos-rebuild" '' - #!${pkgs.runtimeShell} - set -ev + #!${pkgs.runtimeShell} -e nix-copy-closure --to ${target} ${secrets} nix-copy-closure --to ${target} ${self} if [ "$1" = "--flakify" ]; then