mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-15 17:51:01 +00:00
Add default system to systems
option
This commit is contained in:
parent
6a3a683d43
commit
72dd60bfc9
1 changed files with 3 additions and 4 deletions
|
@ -59,14 +59,14 @@ in
|
|||
|
||||
systems = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ ];
|
||||
default = [ "${stdenv.hostPlatform.uname.processor}-linux" ];
|
||||
example = literalExpression ''
|
||||
[
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
]
|
||||
'';
|
||||
description = ''
|
||||
description = lib.mdDoc ''
|
||||
This option specifies system types the build machine can execute derivations on.
|
||||
|
||||
This sets the corresponding `nix.buildMachines.*.systems` option.
|
||||
|
@ -136,9 +136,8 @@ in
|
|||
hostName = "linux-builder";
|
||||
sshUser = "builder";
|
||||
sshKey = "/etc/nix/builder_ed25519";
|
||||
systems = [ "${stdenv.hostPlatform.uname.processor}-linux" ] ++ cfg.systems;
|
||||
publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUpCV2N4Yi9CbGFxdDFhdU90RStGOFFVV3JVb3RpQzVxQkorVXVFV2RWQ2Igcm9vdEBuaXhvcwo=";
|
||||
inherit (cfg) maxJobs supportedFeatures;
|
||||
inherit (cfg) maxJobs supportedFeatures systems;
|
||||
}];
|
||||
|
||||
nix.settings.builders-use-substitutes = true;
|
||||
|
|
Loading…
Reference in a new issue