🧹 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;
|
||||||
automatic = true;
|
gc = {
|
||||||
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
|
automatic = true;
|
||||||
|
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
|
||||||
|
};
|
||||||
|
optimise.automatic = true;
|
||||||
};
|
};
|
||||||
nix.optimise.automatic = true;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue