flake.nix: reduce deployment verbosity

This commit is contained in:
Astro 2021-06-07 02:30:16 +02:00
parent 4fdf88ac18
commit bdb0713d68
1 changed files with 1 additions and 2 deletions

View File

@ -45,8 +45,7 @@
"\"" "\""
else ""); else "");
in pkgs.writeScriptBin "${name}-nixos-rebuild" '' in pkgs.writeScriptBin "${name}-nixos-rebuild" ''
#!${pkgs.runtimeShell} #!${pkgs.runtimeShell} -e
set -ev
nix-copy-closure --to ${target} ${secrets} nix-copy-closure --to ${target} ${secrets}
nix-copy-closure --to ${target} ${self} nix-copy-closure --to ${target} ${self}
if [ "$1" = "--flakify" ]; then if [ "$1" = "--flakify" ]; then