modules/nixos/remote-workers: set supportedFeatures from host configuration
This commit is contained in:
parent
e890f471c5
commit
635224ff57
1 changed files with 4 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, inputs, ... }:
|
||||
{
|
||||
sops.secrets.id_buildfarm = { };
|
||||
|
||||
|
@ -10,13 +10,8 @@
|
|||
protocol = "ssh-ng";
|
||||
sshKey = config.sops.secrets.id_buildfarm.path;
|
||||
sshUser = "nix";
|
||||
system = "aarch64-linux";
|
||||
supportedFeatures = [
|
||||
"big-parallel"
|
||||
"kvm"
|
||||
"nixos-test"
|
||||
"gccarch-armv8-a"
|
||||
];
|
||||
systems = [ "aarch64-linux" ];
|
||||
supportedFeatures = inputs.self.outputs.nixosConfigurations.build04.config.nix.settings.system-features;
|
||||
}
|
||||
{
|
||||
hostName = "darwin02.nix-community.org";
|
||||
|
@ -25,7 +20,7 @@
|
|||
sshKey = config.sops.secrets.id_buildfarm.path;
|
||||
sshUser = "nix";
|
||||
systems = [ "aarch64-darwin" "x86_64-darwin" ];
|
||||
supportedFeatures = [ "big-parallel" ];
|
||||
supportedFeatures = inputs.self.outputs.darwinConfigurations.darwin02.config.nix.settings.system-features;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue