diff --git a/modules/common/nix.nix b/modules/common/nix.nix index 4e23477..b5db406 100644 --- a/modules/common/nix.nix +++ b/modules/common/nix.nix @@ -1,6 +1,11 @@ { config, ... }: { nix = { + gc = { + automatic = true; + options = "--delete-older-than 2d"; + }; + settings = { experimental-features = [ "nix-command" "flakes" ]; @@ -31,4 +36,4 @@ allowUnfree = true; }; }; -} \ No newline at end of file +}