auto gc
This commit is contained in:
commit
08895d6867
2 changed files with 10 additions and 6 deletions
|
|
@ -182,6 +182,10 @@
|
|||
};
|
||||
nixpkgs.config = {allowUnfree = true;};
|
||||
nix.nixPath = ["nixpkgs=${pkgs.path}"];
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
system.stateVersion = lib.mkDefault "23.05";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue