From fadccb3cdad66b1f138dfed2782bb07f2676b46e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 12 Sep 2024 12:30:31 +0200 Subject: [PATCH] Enable automatic garbage collection --- modules/desk-os/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/desk-os/default.nix b/modules/desk-os/default.nix index 716e9b4..602c63a 100644 --- a/modules/desk-os/default.nix +++ b/modules/desk-os/default.nix @@ -42,6 +42,13 @@ ]; }; + # Automatic garbage collection + nix.gc = { + automatic = true; + dates = "daily"; + options = "--delete-older-than 7d"; + }; + services.printing.enable = true; hardware.bluetooth.enable = true; services.avahi = {