2024-06-29 14:02:04 +02:00
|
|
|
{ config, secrets, ... }:
|
|
|
|
{
|
|
|
|
sops.secrets."ssh/nix-builders/isvegg/key" = { sopsFile = ./../../../secrets/common.yaml; };
|
|
|
|
|
|
|
|
nix.buildMachines = [{
|
|
|
|
# Login details configured in ssh module in nix-secrets
|
|
|
|
hostName = "nix-builder-isvegg";
|
|
|
|
system = "x86_64-linux";
|
|
|
|
speedFactor = 1;
|
|
|
|
maxJobs = 8;
|
|
|
|
supportedFeatures = [ ];
|
|
|
|
mandatoryFeatures = [ ];
|
|
|
|
sshUser = secrets.ssh.users.pvv.normalUser;
|
|
|
|
sshKey = config.sops.secrets."ssh/nix-builders/isvegg/key".path;
|
|
|
|
}];
|
|
|
|
|
|
|
|
programs.ssh.extraConfig = ''
|
|
|
|
Host nix-builder-isvegg
|
|
|
|
HostName isvegg.pvv.ntnu.no
|
|
|
|
User oysteikt
|
|
|
|
IdentityFile ${config.sops.secrets."ssh/nix-builders/isvegg/key".path}
|
|
|
|
'';
|
2024-08-12 17:36:13 +02:00
|
|
|
}
|