diff --git a/nixos/fuchsia/configuration.nix b/nixos/fuchsia/configuration.nix index 6ce6ed8..0326261 100644 --- a/nixos/fuchsia/configuration.nix +++ b/nixos/fuchsia/configuration.nix @@ -43,6 +43,13 @@ }; nix = { + gc = { + # Automatically run the garbage collector an a specified time. + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + # This will add each flake input as a registry # To make nix commands consistent with your flake registry = lib.mapAttrs (_: value: { flake = value; }) inputs;