various things because i am lazy
This commit is contained in:
parent
1b9a5a264e
commit
cc0b878532
9 changed files with 29 additions and 1 deletions
15
modules/pkg_mgrmnt/garbage-collect.nix
Normal file
15
modules/pkg_mgrmnt/garbage-collect.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }: {
|
||||
nix = {
|
||||
optimise = {
|
||||
automatic = true;
|
||||
dates = [ "16:00" "08:00" ];
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 2d";
|
||||
persistent = true;
|
||||
randomizedDelaySec = "1h";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue