From 5c94b8f21ad261360038217c0803a51d21cdc7ba Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Sat, 21 Sep 2024 23:26:27 -0500 Subject: [PATCH] added automatic weekly garbage collects --- enviroments/common/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/enviroments/common/default.nix b/enviroments/common/default.nix index 96ad012..2152820 100644 --- a/enviroments/common/default.nix +++ b/enviroments/common/default.nix @@ -3,8 +3,13 @@ ../../users ]; - nix.settings.experimental-features = ["nix-command" "flakes"]; - nix.settings.trusted-users = ["leyla"]; + nix = { + settings = { + experimental-features = ["nix-command" "flakes"]; + trusted-users = ["leyla"]; + }; + gc.automatic = true; + }; # Enable networking networking.networkmanager.enable = true;