🧹 refactor
This commit is contained in:
parent
82fa6002f9
commit
e24954bca1
1 changed files with 7 additions and 5 deletions
|
@ -1,10 +1,12 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
nix.package = pkgs.nixFlakes;
|
nix = {
|
||||||
nix.gc = {
|
package = pkgs.nix_2_4;
|
||||||
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
|
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
|
||||||
};
|
};
|
||||||
nix.optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue