conslidate system metadata in one place

This commit is contained in:
Sridhar Ratnakumar 2022-12-24 12:39:30 -05:00
parent f2f81985c7
commit 38ee1afb53
5 changed files with 7 additions and 4 deletions

View file

@ -1,7 +1,7 @@
let
keys = [
(builtins.readFile ../nixos/takemessh/id_rsa.pub)
(builtins.readFile ../systems/hetzner/ax41.pub)
(import ../systems/hetzner/ax41.info.nix).hostKeyPub
];
in
{

View file

@ -51,7 +51,7 @@
distributedBuilds = true;
buildMachines = [
{
hostName = "88.198.33.237"; # pinch
hostName = (import ../hetzner/ax41.info.nix).publicIP;
system = "x86_64-linux";
maxJobs = 10;
}

View file

@ -0,0 +1,4 @@
{
hostKeyPub = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMI2BuoFaJD7dfOuJUP0yGWsQ4+tnKojUZiAQgIb44uj root@pinch";
publicIP = "88.198.33.237";
}

View file

@ -58,7 +58,7 @@
ipv4 = {
addresses = [{
# Server main IPv4 address
address = "88.198.33.237";
address = (import ./ax41.info.nix).publicIP;
prefixLength = 24;
}];

View file

@ -1 +0,0 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMI2BuoFaJD7dfOuJUP0yGWsQ4+tnKojUZiAQgIb44uj root@pinch