From 576d9f3a20322f6e0ca67675f5578f01ec73271b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 2 Nov 2022 11:51:47 +0100 Subject: nixos/generic: add automatic garbage collection --- nixos/modules/generic.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/modules/generic.nix') diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index a7816ed..6a658d8 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -25,6 +25,10 @@ in { ]; trusted-users = [ "@wheel" ]; }; + gc = { + automatic = true; + persistent = true; + }; registry = { personal.to = { type = "git"; -- cgit v1.2.3