Update backwards compatible settings that work in NixOS but are

deprecated in Nix Darwin to the new standards
This commit is contained in:
Martin Larsson 2025-07-15 16:06:05 +02:00
parent df8451b8da
commit 909398bf3c

View file

@ -7,20 +7,25 @@
nix = {
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
max-jobs = "auto";
cores = 0;
builders-use-substitutes = true;
};
optimise.automatic = true;
extraOptions = ''
keep-going = true
'';
gc = {
automatic = true;
dates = "weekly";
interval = {
Weekday = 0;
Hour = 0;
Minute = 0;
};
options = "--delete-older-than 7d";
};
};