diff --git a/modules/nix-gc.nix b/modules/nix-gc.nix index 3380af4..a9c8e7b 100644 --- a/modules/nix-gc.nix +++ b/modules/nix-gc.nix @@ -44,7 +44,6 @@ }; script = '' - set -eu -o pipefail ${config.nix.package.out}/bin/nix-env --delete-generations +7 --profile /nix/var/nix/profiles/system ''; }; diff --git a/modules/spin-down/hd-idle.nix b/modules/spin-down/hd-idle.nix index 3d3aebd..7b4095f 100644 --- a/modules/spin-down/hd-idle.nix +++ b/modules/spin-down/hd-idle.nix @@ -25,7 +25,6 @@ in let args = strings.concatMapStrings (x: " -a disk/by-id/${x} -i 300") cfg; in '' - set -eu -o pipefail ${pkgs.hd-idle}/bin/hd-idle ${args} ''; };