🧹 refactor

dev-docs
Moritz Böhme 2022-01-21 22:05:21 +01:00
parent 82fa6002f9
commit e24954bca1
1 changed files with 7 additions and 5 deletions

View File

@ -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;
};
} }