all: Move gc into own module

This commit is contained in:
fleaz 2023-06-25 01:08:10 +02:00
parent 55606b41cc
commit 3d47947a05
2 changed files with 9 additions and 6 deletions

7
modules/gc.nix Normal file
View file

@ -0,0 +1,7 @@
{
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
}