garbage collection
This commit is contained in:
parent
ee1e1d18b5
commit
64746e9071
1 changed files with 9 additions and 0 deletions
|
|
@ -96,6 +96,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# garbage collection & optimization
|
||||||
|
nix.optimise.automatic = true;
|
||||||
|
nix.optimise.dates = [ "03:45" ]; # Optional; allows customizing optimisation schedule
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue