From 33aafeced9e3384e8d8f5fd88d0fa5d2aaa30ea8 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Sat, 22 Mar 2025 01:25:00 +0800 Subject: [PATCH] feat(nixos): add automatic garbage collection --- systems/modules/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/systems/modules/common.nix b/systems/modules/common.nix index ee3efa2..af52fc4 100644 --- a/systems/modules/common.nix +++ b/systems/modules/common.nix @@ -64,4 +64,10 @@ LC_TELEPHONE = "en_SG.UTF-8"; LC_TIME = "en_SG.UTF-8"; }; + + nix.gc = { + automatic = true; + dates = "daily"; + options = "-d"; + }; }