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 = { nix = {
settings = { settings = {
experimental-features = "nix-command flakes"; experimental-features = "nix-command flakes";
auto-optimise-store = true;
max-jobs = "auto"; max-jobs = "auto";
cores = 0; cores = 0;
builders-use-substitutes = true; builders-use-substitutes = true;
}; };
optimise.automatic = true;
extraOptions = '' extraOptions = ''
keep-going = true keep-going = true
''; '';
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; interval = {
Weekday = 0;
Hour = 0;
Minute = 0;
};
options = "--delete-older-than 7d"; options = "--delete-older-than 7d";
}; };
}; };