🚀 enables nix gc and optimise
This commit is contained in:
parent
b47f7ba4f5
commit
a697be901f
1 changed files with 5 additions and 0 deletions
|
@ -2,4 +2,9 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
nix.package = pkgs.nixFlakes;
|
nix.package = pkgs.nixFlakes;
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
|
||||||
|
};
|
||||||
|
nix.optimise.automatic = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue