From 079b5628d902d4647ab00a10e14ff9bcd2be5ee9 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sun, 4 May 2025 10:53:01 +0200 Subject: ahmed: Do automatic Nix garbage collections --- hosts/ahmed/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 43ce35b..bee715b 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -85,6 +85,10 @@ allowReboot = true; }; + # Automatic garbage collection. The default value of running every night is + # probably a bit overkill, but this system has very little storage. + nix.gc.automatic = true; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It's perfectly fine and recommended to leave -- cgit v1.2.3