From 7ac95df6803178dfd234adb0b7d52508e63f5fd5 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 25 Jun 2025 23:02:12 -0400 Subject: [PATCH] Infini-DL360: disable automatic gc --- hosts/Infini-DL360/default.nix | 1 + modules/global/nix.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/Infini-DL360/default.nix b/hosts/Infini-DL360/default.nix index 0647600..a8124be 100644 --- a/hosts/Infini-DL360/default.nix +++ b/hosts/Infini-DL360/default.nix @@ -63,6 +63,7 @@ ]; nix.settings.accept-flake-config = true; + nix.gc.automatic = false; networking = { firewall = { diff --git a/modules/global/nix.nix b/modules/global/nix.nix index 879f9a2..fa54741 100644 --- a/modules/global/nix.nix +++ b/modules/global/nix.nix @@ -64,7 +64,7 @@ in }; gc = { - automatic = true; + automatic = lib.mkDefault true; options = "--delete-older-than 7d"; dates = "weekly"; };