From 8878754f867e200b6f125bb80f3559e1e690923a Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sat, 5 Jul 2025 17:00:20 -0400 Subject: [PATCH] global/nix: setup automatic home manager gc --- modules/global/nix.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/global/nix.nix b/modules/global/nix.nix index 05e3184..f62221b 100644 --- a/modules/global/nix.nix +++ b/modules/global/nix.nix @@ -190,4 +190,14 @@ in sshUser = "remotebuild"; } ]; + + home-manager.sharedModules = [ + { + nix.gc = { + automatic = lib.mkDefault config.nix.gc.automatic; + frequency = lib.mkDefault config.nix.gc.dates; + options = lib.mkDefault config.nix.gc.options; + }; + } + ]; }