🧹 refactor

nixos
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, ... }:
{
nix.package = pkgs.nixFlakes;
nix.gc = {
automatic = true;
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
nix = {
package = pkgs.nix_2_4;
gc = {
automatic = true;
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
};
optimise.automatic = true;
};
nix.optimise.automatic = true;
}