From 7225b74ac292781298c4e4cbc511763c4643a1c1 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sun, 27 Oct 2019 20:34:01 +0100 Subject: [PATCH] Disable auto-gc because off annoying ifd --- home/update-script.nix | 2 +- pkgs/default.nix | 2 +- system/server/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home/update-script.nix b/home/update-script.nix index 1c3e972a..8225adcc 100644 --- a/home/update-script.nix +++ b/home/update-script.nix @@ -11,7 +11,7 @@ let main = do git "-C" "${configPath}" "pull" update_home - nix_collect_garbage "--delete-older-than" "${toString gcRetentionDays}d" + --nix_collect_garbage "--delete-older-than" "${toString gcRetentionDays}d" nix "optimise-store" ''; in { diff --git a/pkgs/default.nix b/pkgs/default.nix index 1fe1f2fe..56108de6 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -100,7 +100,7 @@ in rec { git -C ~/git/nixos/config pull update-home sudo -A update-system - sudo -A nix-collect-garbage --delete-older-than ${ + #sudo -A nix-collect-garbage --delete-older-than ${ toString gcRetentionDays }d sudo -A nix optimise-store diff --git a/system/server/default.nix b/system/server/default.nix index f0f38ee4..b00b527b 100644 --- a/system/server/default.nix +++ b/system/server/default.nix @@ -3,7 +3,7 @@ imports = [ ./init_ssh.nix ]; nix = { - gc.automatic = true; + #gc.automatic = true; optimise.automatic = true; };