nix.gc
This commit is contained in:
parent
997463191b
commit
8a8ff9513b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user