This commit is contained in:
Motiejus Jakštys 2023-02-19 19:23:55 +02:00
parent 997463191b
commit 8a8ff9513b

View File

@ -365,6 +365,12 @@ in {
};
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
systemd.services."make-snapshot-dirs" = let
vals = builtins.attrValues backup_paths;
mountpoints = builtins.catAttrs "mountpoint" vals;