From 9950da0cdc8e2327f4b885caee22ee101e474b55 Mon Sep 17 00:00:00 2001 From: ska Date: Fri, 26 Dec 2025 19:26:30 +0000 Subject: [PATCH] Update configuration.nix --- configuration.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configuration.nix b/configuration.nix index 0755493..15916be 100644 --- a/configuration.nix +++ b/configuration.nix @@ -109,6 +109,22 @@ hardware.bluetooth.enable = true; + ############################################################ + # GARBAGE COLLECTION + ############################################################ + + nix = { + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 14d"; + }; + + settings = { + auto-optimise-store = true; + }; + }; + ############################################################ # DESKTOP - GNOME OR KDE ############################################################