From b4daff252a2b41a86452d775aafef0ca2101bb0a Mon Sep 17 00:00:00 2001 From: EsVagy42 Date: Wed, 18 Feb 2026 09:24:25 +0100 Subject: [PATCH] Added nix automatic gc --- commit_text | 2 +- configuration.nix | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/commit_text b/commit_text index f6fe88a..6586cdd 100644 --- a/commit_text +++ b/commit_text @@ -1 +1 @@ -Removed nh +Added nix automatic gc diff --git a/configuration.nix b/configuration.nix index 9237210..e426cf3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -120,6 +120,11 @@ in "flakes" ]; nix.settings.auto-optimise-store = true; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; # Bootloader. boot.loader.systemd-boot.enable = false;