auto garbage collect
This commit is contained in:
parent
0ff07ffde9
commit
69459cf910
2 changed files with 13 additions and 1 deletions
11
roles/nix.nix
Normal file
11
roles/nix.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue