diff --git a/modules/common/default.nix b/modules/common/default.nix index 95bb732..9793826 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -79,9 +79,16 @@ warn-dirty = false ''; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; + settings = { # Add community Cachix to binary cache + builders-use-substitutes = true; substituters = lib.mkIf (!pkgs.stdenv.isDarwin) [ "https://nix-community.cachix.org" ]; trusted-public-keys = lib.mkIf (!pkgs.stdenv.isDarwin) [