modules/nix-config: proper ssh-ng
This commit is contained in:
parent
9428dcf6b1
commit
7e9d8685a8
1 changed files with 5 additions and 4 deletions
|
@ -1,10 +1,11 @@
|
|||
{ pkgs, lib, config, inputs, ... }@args:
|
||||
{ pkgs, lib, config, inputs, ... }:
|
||||
let
|
||||
builder = {
|
||||
systems = [ "x86_64-linux" "i686-linux" ];
|
||||
speedFactor = 4;
|
||||
supportedFeatures = [ "benchmark" "nixos-test" ];
|
||||
sshKey = config.age.secrets.nixBuilderKey.path;
|
||||
protocol = "ssh-ng";
|
||||
};
|
||||
bigBuilder = builder // {
|
||||
speedFactor = 16;
|
||||
|
@ -59,18 +60,18 @@ in {
|
|||
|
||||
buildMachines = [
|
||||
(bigBuilder // {
|
||||
sshUser = "ssh-ng://nixbuilder";
|
||||
sshUser = "nixbuilder";
|
||||
hostName = "animus.com";
|
||||
maxJobs = 4;
|
||||
})
|
||||
(builder // {
|
||||
sshUser = "ssh-ng://nix";
|
||||
sshUser = "nix";
|
||||
hostName = "prophet.node.privatevoid.net";
|
||||
systems = [ "aarch64-linux" ];
|
||||
})
|
||||
] ++
|
||||
(lib.optional (config.networking.hostName != "TITAN") (bigBuilder // {
|
||||
sshUser = "ssh-ng://nix";
|
||||
sshUser = "nix";
|
||||
hostName = "titan.hypr";
|
||||
speedFactor = 12;
|
||||
maxJobs = 12;
|
||||
|
|
Loading…
Reference in a new issue