Enable nix garbage collection service

This commit is contained in:
Pim Kunis 2024-09-01 11:39:53 +02:00
parent b139f3d469
commit d6f3aadeaf

View file

@ -119,6 +119,13 @@
extraOptions = ''
experimental-features = nix-command flakes
'';
gc = {
automatic = true;
persistent = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
system = {