Add automatic Nix GC and store optimisation to NixOracle
Weekly GC removing generations older than 30 days. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6b3f8709a1
commit
50300518e1
1 changed files with 7 additions and 0 deletions
|
|
@ -54,6 +54,13 @@ in {
|
|||
boot.tmp.cleanOnBoot = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
nix.optimise.automatic = true;
|
||||
|
||||
nix.settings.require-sigs = false;
|
||||
|
||||
networking.hostName = "NixOracle";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue