From 1cda2df727032383f765deeaed56e37812236a6c Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 23 Aug 2024 14:39:00 +0200 Subject: [PATCH] cleanup --- modules/nix-gc.nix | 1 - modules/spin-down/hd-idle.nix | 1 - 2 files changed, 2 deletions(-) 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} ''; };