enable auto gc
This commit is contained in:
parent
1fbb779c9a
commit
3cd05610a2
1 changed files with 6 additions and 0 deletions
|
|
@ -118,6 +118,12 @@
|
|||
# enable nix flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes"];
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
# disable the database error TODO add nix-index search
|
||||
programs.command-not-found.enable = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue