mtworx: use the fra1-a remote builder

This commit is contained in:
Motiejus Jakštys 2024-06-07 23:45:30 +03:00
parent 8a37f56311
commit 7afc328ae1
2 changed files with 10 additions and 0 deletions

View File

@ -77,6 +77,7 @@
publicKeys = map (h: myData.hosts.${h}.publicKey) [
"vno1-oh2.servers.jakst"
"fwminex.motiejus.jakst"
"mtworx.motiejus.jakst"
];
};

View File

@ -78,6 +78,15 @@ in {
toUser = config.mj.username;
};
remote-builder.client = let
host = myData.hosts."fra1-a.servers.jakst";
in {
enable = true;
inherit (host) system supportedFeatures;
hostName = host.jakstIP;
sshKey = "/etc/ssh/ssh_host_ed25519_key";
};
node_exporter = {
enable = true;
extraSubnets = [myData.subnets.vno1.cidr];