doppelbock: init
This commit is contained in:
parent
7fb1a3e775
commit
827f179080
|
@ -62,6 +62,41 @@ with config.krebs.lib;
|
||||||
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
||||||
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOd/HqZIO9Trn3eycl23GZAz21HQCISaVNfNyaLSQvJ6";
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOd/HqZIO9Trn3eycl23GZAz21HQCISaVNfNyaLSQvJ6";
|
||||||
};
|
};
|
||||||
|
doppelbock = rec {
|
||||||
|
cores = 2;
|
||||||
|
nets = rec {
|
||||||
|
internet = {
|
||||||
|
addrs4 = ["45.62.237.203"];
|
||||||
|
aliases = [
|
||||||
|
"doppelbock.i"
|
||||||
|
"doppelbock.internet"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
retiolum = {
|
||||||
|
via = internet;
|
||||||
|
addrs4 = ["10.243.113.224"];
|
||||||
|
addrs6 = ["42:4522:25f8:36bb:8ccb:0150:231a:2af5"];
|
||||||
|
aliases = [
|
||||||
|
"doppelbock.r"
|
||||||
|
"doppelbock.retiolum"
|
||||||
|
"cgit.doppelbock.r"
|
||||||
|
"cgit.doppelbock.retiolum"
|
||||||
|
];
|
||||||
|
tinc.pubkey = ''
|
||||||
|
-----BEGIN RSA PUBLIC KEY-----
|
||||||
|
MIIBCgKCAQEAq/luvzH4CQX5qRuucUqR3aLwXtzsRmBOdd2hvrPG1z8ML2kKV+IG
|
||||||
|
0aBfyJmQ8csfeGhOj0y0LEBv4bkEjEtYObs+LJfdWZC5e39eAVUE0z8QbSPOx4di
|
||||||
|
/7Bo+9sFRELP1kYb47eLR8quiIkslMWQMbTLM5RHoXJ5jE8fQSitfp4WUZYiSPDF
|
||||||
|
d5F7RU/ZQfTZuh8gv7RmSn/6N6bXAQWrueK6ZqMuImIjBrmYyXUWxgsDnpeHxR5j
|
||||||
|
j/0F2Bda5lyp+Qzv24PREdPT8FazUfmIQwZTTArXHxiqLq+SEVT21E4WEf2sJRan
|
||||||
|
dti9yVUW3eiqpu8b9BRpvxOB3YdkyqlrGwIDAQAB
|
||||||
|
-----END RSA PUBLIC KEY-----
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
ssh.privkey.path = <secrets/ssh.id_rsa>;
|
||||||
|
ssh.pubkey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLhrVTEmbtuTsgRTHHxsLrq7ai1Yt7+oKFevr1gzktCQqHuyucXzxn60F00kuNDkNiKIF5fHmWy6ajU+6PKD3TfiFMagT9ah0x0RSB0+0tevxnlOp6VdHhrdM5YrBduWMiELmOiI1lvYhRqKd/ZE7b2mra6KYe5VtTi9UX3wQp8qN+bI01KCxv0p6ciUgEO8fnwLKDBUuFJ2UfE7Ais9XrXFIBFXB+MKcpLnIXvrV6dSXdUEiaswg8wo0Q0Y3tMaQ0dNJdH2yp3FVn1aiX3E/vVnffmDKMWYWqn78klujdEdmLm8/8NkXnc/jpgu8ZlSpQHECO2ZUJzd35yRnVKALv";
|
||||||
|
};
|
||||||
mkdir = rec {
|
mkdir = rec {
|
||||||
cores = 1;
|
cores = 1;
|
||||||
nets = rec {
|
nets = rec {
|
||||||
|
|
23
tv/1systems/doppelbock.nix
Normal file
23
tv/1systems/doppelbock.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
with config.krebs.lib;
|
||||||
|
{
|
||||||
|
krebs.build.host = config.krebs.hosts.doppelbock;
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../2configs/hw/CAC-Developer-2.nix
|
||||||
|
../2configs/fs/CAC-CentOS-7-64bit.nix
|
||||||
|
../2configs/retiolum.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
interfaces.enp2s1.ip4 = singleton {
|
||||||
|
address = let
|
||||||
|
addr4 = "45.62.237.203";
|
||||||
|
in assert config.krebs.build.host.nets.internet.addrs4 == [addr4]; addr4;
|
||||||
|
prefixLength = 24;
|
||||||
|
};
|
||||||
|
defaultGateway = "45.62.237.1";
|
||||||
|
nameservers = ["8.8.8.8"];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue