fix(nix): nix command not set

nixos
Moritz Böhme 2023-05-12 15:13:27 +02:00
parent a2055ecc9c
commit f875fb90c5
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ in
}; };
config.nix = { config.nix = {
extraOptions = "experimental-features = nix-command flakes";
gc = { gc = {
automatic = cfg.gc.enable; automatic = cfg.gc.enable;
options = "--max-freed ${cfg.gc.minimumFreedGB} --delete-older-than 14d"; options = "--max-freed ${cfg.gc.minimumFreedGB} --delete-older-than 14d";