🧹 refactor

This commit is contained in:
Moritz Böhme 2022-01-21 22:05:21 +01:00
parent 82fa6002f9
commit e24954bca1

View file

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