blob: 0d216aae5d73d5b0a71840ca685acb889ecd9a6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{
lib,
this,
...
}:
with lib; {
nix = {
daemonIOLowPriority = false;
daemonProcessType = "Standard";
settings.extra-platforms = optionalString (this.system == "aarch64-darwin") ''
x86_64-darwin aarch64-darwin
'';
settings.trusted-users = ["@admin"];
};
services.nix-daemon.enable = true;
# https://github.com/LnL7/nix-darwin/blob/master/CHANGELOG
system.stateVersion = 4;
}
|