mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
conslidate system metadata in one place
This commit is contained in:
parent
f2f81985c7
commit
38ee1afb53
5 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
4
systems/hetzner/ax41.info.nix
Normal file
4
systems/hetzner/ax41.info.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
hostKeyPub = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMI2BuoFaJD7dfOuJUP0yGWsQ4+tnKojUZiAQgIb44uj root@pinch";
|
||||
publicIP = "88.198.33.237";
|
||||
}
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
ipv4 = {
|
||||
addresses = [{
|
||||
# Server main IPv4 address
|
||||
address = "88.198.33.237";
|
||||
address = (import ./ax41.info.nix).publicIP;
|
||||
prefixLength = 24;
|
||||
}];
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMI2BuoFaJD7dfOuJUP0yGWsQ4+tnKojUZiAQgIb44uj root@pinch
|
||||
Loading…
Add table
Add a link
Reference in a new issue