Add removal of cache after 7 days

This commit is contained in:
Lillian Violet 2023-10-23 21:52:39 +02:00
parent 2a692708dd
commit a0d4872aff

View file

@ -50,6 +50,11 @@
};
nix = {
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
# This will add each flake input as a registry
# To make nix3 commands consistent with your flake
registry = lib.mapAttrs (_: value: {flake = value;}) inputs;