Add automatic nix-gc.
This commit is contained in:
parent
bef51cab59
commit
3cd0eeaaa9
1 changed files with 5 additions and 0 deletions
5
base.nix
5
base.nix
|
@ -20,4 +20,9 @@
|
||||||
environment.variables.EDITOR = "vim";
|
environment.variables.EDITOR = "vim";
|
||||||
|
|
||||||
programs.appimage.binfmt = true;
|
programs.appimage.binfmt = true;
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue