diff --git a/modules/common/nix.nix b/modules/common/nix.nix index f1f6fd4..13de898 100644 --- a/modules/common/nix.nix +++ b/modules/common/nix.nix @@ -4,6 +4,12 @@ experimental-features = ["nix-command" "flakes"]; }; + nix.gc = { + automatic = true ; + dates = "daily" ; + options = "--delete-older-than 7d" ; + }; + nixpkgs.config = { # allowUnfree = true; # allowUnsupportedSystem = true;