mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 14:35:30 -05:00
Turn on automatic garbage collection
This commit is contained in:
parent
91d9e2b0af
commit
9afafb3f3e
1 changed files with 6 additions and 0 deletions
|
|
@ -101,6 +101,12 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
randomizedDelaySec = "14m";
|
||||
options = "--delete-older-than 10d";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue