.dotfiles/nix/system/common/nix.nix
Martin Larsson 909398bf3c Update backwards compatible settings that work in NixOS but are
deprecated in Nix Darwin to the new standards
2025-07-15 16:06:05 +02:00

32 lines
509 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
vim
];
nix = {
settings = {
experimental-features = "nix-command flakes";
max-jobs = "auto";
cores = 0;
builders-use-substitutes = true;
};
optimise.automatic = true;
extraOptions = ''
keep-going = true
'';
gc = {
automatic = true;
interval = {
Weekday = 0;
Hour = 0;
Minute = 0;
};
options = "--delete-older-than 7d";
};
};
}