diff --git a/morph/lib/issuer-aws.nix b/morph/lib/issuer-aws.nix index 2db5a7aa0e589f31e9c78cffc57d6e356fec737c..bf7de56cfb570857da32c34ebfcc9b21c91e702e 100644 --- a/morph/lib/issuer-aws.nix +++ b/morph/lib/issuer-aws.nix @@ -17,4 +17,11 @@ # morph-supplied name. See also # <https://github.com/DBCDK/morph/issues/146>. networking.hostName = name; + + # Clean up packages after a while + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; }