1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Better auto Nix GC options

This commit is contained in:
RGBCube 2023-11-08 11:00:25 +03:00
parent 8dc5258a5c
commit 24008bfd5b
No known key found for this signature in database

View file

@ -104,7 +104,13 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
nix.gc.automatic = true; nix.gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 1w";
persistent = true;
};
nix.settings.experimental-features = [ nix.settings.experimental-features = [
"nix-command" "nix-command"
"flakes" "flakes"