2016-02-14 15:43:44 +00:00
|
|
|
{ config, ... }:
|
2015-10-01 16:56:41 +00:00
|
|
|
|
2016-02-14 15:43:44 +00:00
|
|
|
with config.krebs.lib;
|
2015-10-01 16:56:41 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
dns.providers = {
|
2016-02-21 19:04:45 +00:00
|
|
|
"viljetic.de" = "regfish";
|
2015-10-01 16:56:41 +00:00
|
|
|
};
|
2016-02-19 15:18:28 +00:00
|
|
|
hosts = mapAttrs (_: setAttr "owner" config.krebs.users.tv) {
|
2015-10-01 16:56:41 +00:00
|
|
|
cd = rec {
|
|
|
|
cores = 2;
|
|
|
|
extraZones = {
|
2015-10-17 19:32:59 +00:00
|
|
|
# TODO generate krebsco.de zone from nets and don't use extraZones at all
|
2015-10-01 16:56:41 +00:00
|
|
|
"krebsco.de" = ''
|
2015-10-17 19:42:03 +00:00
|
|
|
krebsco.de. 60 IN MX 5 mx23
|
2016-04-08 01:53:34 +00:00
|
|
|
mx23 60 IN A ${nets.internet.ip4.addr}
|
|
|
|
cd 60 IN A ${nets.internet.ip4.addr}
|
|
|
|
cgit 60 IN A ${nets.internet.ip4.addr}
|
|
|
|
cgit.cd 60 IN A ${nets.internet.ip4.addr}
|
2015-10-17 19:32:59 +00:00
|
|
|
'';
|
2015-10-01 16:56:41 +00:00
|
|
|
};
|
|
|
|
nets = rec {
|
|
|
|
internet = {
|
2016-04-12 15:13:29 +00:00
|
|
|
ip4.addr = "45.62.237.203";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"cd.i"
|
2015-10-01 16:56:41 +00:00
|
|
|
"cd.internet"
|
2015-10-17 16:31:27 +00:00
|
|
|
"cd.krebsco.de"
|
|
|
|
"cgit.cd.krebsco.de"
|
2015-10-01 16:56:41 +00:00
|
|
|
"cd.viljetic.de"
|
|
|
|
"cgit.cd.viljetic.de"
|
|
|
|
];
|
|
|
|
ssh.port = 11423;
|
|
|
|
};
|
|
|
|
retiolum = {
|
|
|
|
via = internet;
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.113.222";
|
|
|
|
ip6.addr = "42:4522:25f8:36bb:8ccb:0150:231a:2af3";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"cd.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"cd.retiolum"
|
2016-02-06 15:53:35 +00:00
|
|
|
"cgit.cd.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"cgit.cd.retiolum"
|
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIICCgKCAgEAvmCBVNKT/Su4v9nl/Nm3STPo5QxWPg7xEkzIs3Oh39BS8+r6/7UQ
|
|
|
|
rebib7mczb+ebZd+Rg2yFoGrWO8cmM0VcLy5bYRMK7in8XroLEjWecNNM4TRfNR4
|
|
|
|
e53+LhcPdkxo0A3/D+yiut+A2Mkqe+4VXDm/JhAiAYkZTn7jUtj00Atrc7CWW1gN
|
|
|
|
sP3jIgv4+CGftdSYOB4dm699B7OD9XDLci2kOaFqFl4cjDYUok03G0AduUlRx10v
|
|
|
|
CKbKOTIdm8C36A902/3ms+Hyzkruu+VagGIZuPSwqXHJPCu7Ju+jarKQstMmpQi0
|
|
|
|
PubweWDL0o/Dfz2qT3DuL4xDecIvGE6kv3m41hHJYiK+2/azTSehyPFbsVbL7w0V
|
|
|
|
LgKN3usnZNcpTsBWxRGT7nMFSnX2FLDu7d9OfCuaXYxHVFLZaNrpccOq8NF/7Hbk
|
|
|
|
DDW81W7CvLyJDlp0WLnAawSOGTUTPoYv/2wAapJ89i8QGCueGvEc6o2EcnBVMFEW
|
|
|
|
ejWTQzyD816f4RsplnrRqLVlIMbr9Q/n5TvlgjjhX7IMEfMy4+7qLGRQkNbFzgwK
|
|
|
|
jxNG2fFSCjOEQitm0gAtx7QRIyvYr6c7/xiHz4AwxYzBmvQsL/OK57NO4+Krwgj5
|
|
|
|
Vk8TQ2jGO7J4bB38zaxK+Lrtfl8i1AK1171JqFMhOc34JSJ7T4LWDMECAwEAAQ==
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
|
|
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOd/HqZIO9Trn3eycl23GZAz21HQCISaVNfNyaLSQvJ6";
|
|
|
|
};
|
|
|
|
mkdir = rec {
|
|
|
|
cores = 1;
|
|
|
|
nets = rec {
|
|
|
|
internet = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "104.167.114.142";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"mkdir.i"
|
2015-10-01 16:56:41 +00:00
|
|
|
"mkdir.internet"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
retiolum = {
|
|
|
|
via = internet;
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.113.223";
|
|
|
|
ip6.addr = "42:4522:25f8:36bb:8ccb:0150:231a:2af4";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"mkdir.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"mkdir.retiolum"
|
2016-02-06 15:53:35 +00:00
|
|
|
"cgit.mkdir.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"cgit.mkdir.retiolum"
|
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIIBCgKCAQEAuyfM+3od75zOYXqnqRMAt+yp/4z/vC3vSWdjUvEmCuM23c5BOBw+
|
|
|
|
dKqbWoSPTzOuaQ0szdL7a6YxT+poSUXd/i3pPz59KgCl192rd1pZoJKgvoluITev
|
|
|
|
voYSP9rFQOUrustfDb9qKW/ZY95cwdCvypo7Vf4ghxwDCnlmyCGz7qXTJMLydNKF
|
|
|
|
2PH9KiY4suv15sCg/zisu+q0ZYQXUc1TcgpoIYBOftDunOJoNdbti+XjwWdjGmJZ
|
|
|
|
Bn4GelsrrpwJFvfDmouHUe8GsD7nTgbZFtiJbKfCEiK16N0Q0d0ZFHhAV2nPjsk2
|
|
|
|
3JhG4n9vxATBkO82f7RLrcrhkx9cbLfN3wIDAQAB
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
|
|
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICuShEqU0Cdm7KCaMD5x1D6mgj+cr7qoqbzFJDKoBbbw";
|
|
|
|
};
|
2015-10-17 19:32:59 +00:00
|
|
|
ire = rec {
|
|
|
|
extraZones = {
|
|
|
|
# TODO generate krebsco.de zone from nets and don't use extraZones at all
|
|
|
|
"krebsco.de" = ''
|
2016-04-08 01:53:34 +00:00
|
|
|
ire 60 IN A ${nets.internet.ip4.addr}
|
2015-10-17 19:32:59 +00:00
|
|
|
'';
|
|
|
|
};
|
2016-02-27 14:48:58 +00:00
|
|
|
nets = rec {
|
2015-10-01 16:56:41 +00:00
|
|
|
internet = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "198.147.22.115";
|
2015-10-17 19:32:59 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"ire.i"
|
2015-10-17 19:32:59 +00:00
|
|
|
"ire.internet"
|
|
|
|
"ire.krebsco.de"
|
|
|
|
];
|
2015-10-01 16:56:41 +00:00
|
|
|
ssh.port = 11423;
|
|
|
|
};
|
|
|
|
retiolum = {
|
2016-02-27 14:48:58 +00:00
|
|
|
via = internet;
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.231.66";
|
|
|
|
ip6.addr = "42:b912:0f42:a82d:0d27:8610:e89b:490c";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"ire.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"ire.retiolum"
|
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIIBCgKCAQEAwofjmP/XBf5pwsJlWklkSzI+Bo0I0B9ONc7/j+zpbmMRkwbWk4X7
|
|
|
|
rVLt1cWvTY15ujg2u8l0o6OgEbIkc6rslkD603fv1sEAd0KOv7iKLgRpE9qfSvAt
|
|
|
|
6YpiSv+mxEMTpH0g36OmBfOJ10uT+iHDB/FfxmgGJx//jdJADzLjjWC6ID+iGkGU
|
|
|
|
1Sf+yHXF7HRmQ29Yak8LYVCJpGC5bQfWIMSL5lujLq4NchY2d+NZDkuvh42Ayr0K
|
|
|
|
LPflnPBQ3XnKHKtSsnFR2vaP6q+d3Opsq/kzBnAkjL26jEuFK1v7P/HhNhJoPzwu
|
|
|
|
nKKWj/W/k448ce374k5ycjvKm0c6baAC/wIDAQAB
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
ssh.port = 11423;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBaMjBJ/BfYlHjyn5CO0xzFNaQ0LPvMP3W9UlOs1OxGY";
|
|
|
|
};
|
2016-02-06 15:15:25 +00:00
|
|
|
kaepsele = {
|
|
|
|
nets = {
|
|
|
|
internet = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "92.222.10.169";
|
2016-02-06 15:15:25 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"kaepsele.i"
|
2016-02-06 15:15:25 +00:00
|
|
|
"kaepsele.internet"
|
|
|
|
# TODO "kaepsele.org"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
retiolum = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.166.2";
|
|
|
|
ip6.addr = "42:0b9d:6660:d07c:2bb7:4e91:1a01:2e7d";
|
2016-02-06 15:15:25 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"kaepsele.r"
|
2016-02-06 15:15:25 +00:00
|
|
|
"kaepsele.retiolum"
|
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIIBCgKCAQEAxj7kaye4pGLou7mVRTVgtcWFjuEosJlxVg24gM7nU1EaoRnBD93/
|
|
|
|
Y3Je7BSUbz5xMXr5SFTPSkitInL7vU+jDOf2bEpqv+uUJAJIz85494oPS9xocdWo
|
|
|
|
rQsrQRAtOg4MLD+YIoAxQm2Mc4nt2CSE1+UP4uXGxpuh0c051b+9Kmwv1bTyHB9y
|
|
|
|
y01VSkDvNyHk5eA+RGDiujBAzhi35hzTlQgCJ3REOBiq4YmE1d3qpk3oNiYUcrcu
|
|
|
|
yFzQrSRIfhXjuzIR+wxqS95HDUsewSwt9HgkjJzYF5sQZSea0/XsroFqZyTJ8iB5
|
|
|
|
FQx2emBqB525cWKOt0f5jgyjklhozhJyiwIDAQAB
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ssh.pubkey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDA9cDUg7qm37uOhQpdKSgpnJPWao9VZR6LFNphVcJQ++gYvVgWu6WMhigiy7DcGQSStUlXkZc4HZBBugwwNWcf7aAF6ijBuG5rVwb9AFQmSexpTOfWap33iA5f+LXYFHe7iv4Pt9TYO1ga1Ryl4EGKb7ol2h5vbKC+JiGaDejB0WqhBAyrTg4tTWO8k2JT11CrlTjNVctqV0IVAMtTc/hcJcNusnoGD4ic0QGSzEMYxcIGRNvIgWmxhI6GHeaHxXWH5fv4b0OpLlDfVUsIvEo9KVozoLGm/wgLBG/tQXKaF9qVMVgOYi9sX/hDLwhRrcD2cyAlq9djo2pMARYiriXF";
|
|
|
|
};
|
2016-02-06 17:38:51 +00:00
|
|
|
mu = {
|
2016-03-31 01:48:43 +00:00
|
|
|
cores = 2;
|
2016-02-06 17:38:51 +00:00
|
|
|
nets = {
|
|
|
|
retiolum = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.20.1";
|
|
|
|
ip6.addr = "42:0:0:0:0:0:0:2001";
|
2016-02-06 17:38:51 +00:00
|
|
|
aliases = [
|
|
|
|
"mu.r"
|
|
|
|
"mu.retiolum"
|
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIIBCgKCAQEApXErmPSn2CO4V25lqxanCGCFgxEAjdzFUiTCCu0IvELEuCc3PqVA
|
|
|
|
g4ecf8gGwPCbzMW/1txjlgbsQcm87U5enaCwzSv/pa7P9/memV74OhqEVOypFlDE
|
|
|
|
XeZczqQfNbjoLYl4cKZpTsSZmOgASXaMDrH2N37f50q35C0MQw0HRzaQM5VLrzb4
|
|
|
|
o87MClS+yPqpvp34QjW+1lqnOKvMkr6mDrmtcAjCOs9Ma16txyfjGVFi8KmYqIs1
|
|
|
|
QEJmyC9Uocz5zuoSLUghgVRn9yl4+MEw6++akFDwKt/eMkcSq0GPB+3Rz/WLDiBs
|
|
|
|
FK6BsssQWdwiEWpv6xIl1Fi+s7F0riq2cwIDAQAB
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2016-03-31 01:48:43 +00:00
|
|
|
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
|
|
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM1vJsAddvxMA84u9iJEOrIkKn7pQiemMbfW5cfK1d7g root@mu";
|
2016-02-06 17:38:51 +00:00
|
|
|
};
|
2015-10-01 16:56:41 +00:00
|
|
|
nomic = {
|
|
|
|
cores = 2;
|
|
|
|
nets = rec {
|
2015-10-18 14:14:07 +00:00
|
|
|
gg23 = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.23.1.110";
|
2015-10-18 14:14:07 +00:00
|
|
|
aliases = ["nomic.gg23"];
|
2016-02-07 04:14:37 +00:00
|
|
|
ssh.port = 11423;
|
2015-10-18 14:14:07 +00:00
|
|
|
};
|
2015-10-01 16:56:41 +00:00
|
|
|
retiolum = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.0.110";
|
|
|
|
ip6.addr = "42:02d5:733f:d6da:c0f5:2bb7:2b18:09ec";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"nomic.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"nomic.retiolum"
|
2016-02-06 15:53:35 +00:00
|
|
|
"cgit.nomic.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"cgit.nomic.retiolum"
|
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIIBCgKCAQEAwb8Yk/YRc17g2J9n960p6j4W/l559OPyuMPdGJ4DmCm3WNQtxoa+
|
|
|
|
qTFUiDiI85BcmfqnSeddLG8zTC2XnSlIvCRMJ9oKzppFM4PX4OTAaJZVE5WyCQhw
|
|
|
|
Kd4tHVdoQgJW5yFepmT9IUmHqkxXJ0R2W93l2eSZNOcnFvFn0ooiAlRi4zAiHClu
|
|
|
|
5Mz80Sc2rvez+n9wtC2D06aYjP23pHYld2xighHR9SUqX1dFzgSXNSoWWCcgNp2a
|
|
|
|
OKcM8LzxLV7MTMZFOJCJndZ77e4LsUvxhQFP6nyKZWg30PC0zufZsuN5o2xsWSlA
|
|
|
|
Wi9sMB1AUR6mZrxgcgTFpUjbjbLQf+36CwIDAQAB
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
secure = true;
|
2015-11-02 12:51:03 +00:00
|
|
|
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
2015-11-07 08:43:05 +00:00
|
|
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMIHmwXHV7E9UGuk4voVCADjlLkyygqNw054jvrsPn5t root@nomic";
|
2015-10-01 16:56:41 +00:00
|
|
|
};
|
2015-10-18 14:14:07 +00:00
|
|
|
ok = {
|
|
|
|
nets = {
|
|
|
|
gg23 = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.23.1.1";
|
2015-10-18 14:14:07 +00:00
|
|
|
aliases = ["ok.gg23"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-10-01 16:56:41 +00:00
|
|
|
rmdir = rec {
|
|
|
|
cores = 1;
|
|
|
|
nets = rec {
|
|
|
|
internet = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "167.88.34.182";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"rmdir.i"
|
2015-10-01 16:56:41 +00:00
|
|
|
"rmdir.internet"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
retiolum = {
|
|
|
|
via = internet;
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.113.224";
|
|
|
|
ip6.addr = "42:4522:25f8:36bb:8ccb:0150:231a:2af5";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"rmdir.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"rmdir.retiolum"
|
2016-02-06 15:53:35 +00:00
|
|
|
"cgit.rmdir.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"cgit.rmdir.retiolum"
|
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIIBCgKCAQEA+twy4obSbJdmZLfBoe9YYeyoDnXkO/WPa2D6Eh6jXrWk5fbhBjRf
|
|
|
|
i3EAQfLiXXFJX3E8V8YvJyazXklI19jJtCLDiu/F5kgJJfyAkWHH+a/hcg7qllDM
|
|
|
|
Xx2CvS/nCbs+p48/VLO6zLC7b1oHu3K/ob5M5bwPK6j9NEDIL5qYiM5PQzV6zryz
|
|
|
|
hS9E/+l8Z+UUpYcfS3bRovXJAerB4txc/gD3Xmptq1zk53yn1kJFYfVlwyyz+NEF
|
|
|
|
59JZj2PDrvWoG0kx/QjiNurs6XfdnyHe/gP3rmSTrihKFVuA3cZM62sDR4FcaeWH
|
|
|
|
SnKSp02pqjBOjC/dOK97nXpKLJgNH046owIDAQAB
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
|
|
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICLuhLRmt8M5s2Edwwl9XY0KAAivzmPCEweesH5/KhR4";
|
|
|
|
};
|
2015-10-18 14:14:07 +00:00
|
|
|
schnabeldrucker = {
|
|
|
|
nets = {
|
|
|
|
gg23 = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.23.1.21";
|
2015-10-18 14:14:07 +00:00
|
|
|
aliases = ["schnabeldrucker.gg23"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
schnabelscanner = {
|
|
|
|
nets = {
|
|
|
|
gg23 = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.23.1.22";
|
2015-10-18 14:14:07 +00:00
|
|
|
aliases = ["schnabelscanner.gg23"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-10-01 16:56:41 +00:00
|
|
|
wu = {
|
|
|
|
cores = 4;
|
|
|
|
nets = {
|
2015-10-18 14:14:07 +00:00
|
|
|
gg23 = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.23.1.37";
|
2016-02-27 14:13:10 +00:00
|
|
|
aliases = [
|
|
|
|
"wu.gg23"
|
|
|
|
"cache.wu.gg23"
|
|
|
|
];
|
2016-02-07 04:14:37 +00:00
|
|
|
ssh.port = 11423;
|
2015-10-18 14:14:07 +00:00
|
|
|
};
|
2015-10-01 16:56:41 +00:00
|
|
|
retiolum = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.13.37";
|
|
|
|
ip6.addr = "42:0:0:0:0:0:0:1337";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"wu.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"wu.retiolum"
|
2016-02-06 15:53:35 +00:00
|
|
|
"cgit.wu.r"
|
2015-10-21 11:16:04 +00:00
|
|
|
"cgit.wu.retiolum"
|
2015-10-01 16:56:41 +00:00
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIIBCgKCAQEArDvU0cuBsVqTjCX2TlWL4XHSy4qSjUhjrDvUPZSKTVN7x6OENCUn
|
|
|
|
M27g9H7j4/Jw/8IHoJLiKnXHavOoc9UJM+P9Fla/4TTVADr69UDSnLgH+wGiHcEg
|
|
|
|
GxPkb2jt0Z8zcpD6Fusj1ATs3sssaLHTHvg1D0LylEWA3cI4WPP13v23PkyUENQT
|
|
|
|
KpSWfR+obqDl38Q7LuFi6dH9ruyvqK+4syddrBwjPXrcNxcGL9QbDn7+foRNiWw4
|
|
|
|
4CE5z25oGG2iWMShI7fe3ji/fMUAl7DSOOrHVVG9eMtpzy+uI8veOHrdTax4oKik
|
|
|
|
AFGCrMIov3F0GIeu3nDlrTIZPZDTodbFKQIDAQAB
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
secure = true;
|
2016-01-05 21:35:05 +00:00
|
|
|
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
2015-10-01 16:56:41 +00:00
|
|
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIcJvu8JDVzObLUtlAQg9qVugthKSfitwCljuJ5liyHa";
|
|
|
|
};
|
|
|
|
xu = {
|
|
|
|
cores = 4;
|
|
|
|
nets = {
|
2015-10-18 14:14:07 +00:00
|
|
|
gg23 = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.23.1.38";
|
2015-10-18 14:14:07 +00:00
|
|
|
aliases = ["xu.gg23"];
|
2016-02-07 04:14:37 +00:00
|
|
|
ssh.port = 11423;
|
2015-10-18 14:14:07 +00:00
|
|
|
};
|
2015-10-01 16:56:41 +00:00
|
|
|
retiolum = {
|
2016-04-08 01:53:34 +00:00
|
|
|
ip4.addr = "10.243.13.38";
|
|
|
|
ip6.addr = "42:0:0:0:0:0:0:1338";
|
2015-10-01 16:56:41 +00:00
|
|
|
aliases = [
|
2016-02-06 15:18:52 +00:00
|
|
|
"xu.r"
|
2015-10-01 16:56:41 +00:00
|
|
|
"xu.retiolum"
|
|
|
|
];
|
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
MIIBCgKCAQEAl3l7IWbfbkVgaJFM3s9g2UCh2rmqoTba16Of7NNWMj05L/hIkUsQ
|
|
|
|
uc43/QzidWh/4gEaq5MQ7JpLyzVBQYRJkNlPRF/Z07KdLBskAZCjDYdYue9BrziX
|
|
|
|
8s2Irs2+FNbCK2LqtrPhbcXQJvixsk6vjl2OBpWTDUcDEsk+D1YQilxdtyUzCUkw
|
|
|
|
mmRo/mzNsLZsYlSgZ6El/ZLkRdtexAzGxJ0DrukpDR0uqXXkp7jUaxRCZ+Cwanvj
|
|
|
|
4I1Hu5aHzWB7KJ1SIvpX3a4f+mun1gh3TPqWP5PUqJok1PSuScz6P2UGaLZZyH63
|
|
|
|
4o+9nGJPuzb9bpMVRaVGtKXd39jwY7mbqwIDAQAB
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
secure = true;
|
2015-11-07 08:45:43 +00:00
|
|
|
ssh.privkey.path = <secrets/ssh.id_ed25519>;
|
|
|
|
ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnjfceKuHNQu7S4eYFN1FqgzMqiL7haNZMh2ZLhvuhK root@xu";
|
2015-10-01 16:56:41 +00:00
|
|
|
};
|
|
|
|
};
|
2016-02-06 17:54:01 +00:00
|
|
|
users = rec {
|
2015-10-01 16:56:41 +00:00
|
|
|
mv = {
|
|
|
|
mail = "mv@cd.retiolum";
|
2015-11-06 18:45:50 +00:00
|
|
|
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGer9e2+Lew7vnisgBbsFNECEIkpNJgEaqQqgb9inWkQ mv@vod";
|
2015-10-01 16:56:41 +00:00
|
|
|
};
|
|
|
|
tv = {
|
2016-02-17 16:07:16 +00:00
|
|
|
mail = "tv@nomic.retiolum";
|
2016-03-16 00:57:03 +00:00
|
|
|
pgp.pubkeys.default = ''
|
2016-03-15 23:49:32 +00:00
|
|
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
2016-04-20 14:03:02 +00:00
|
|
|
|
2016-03-15 23:49:32 +00:00
|
|
|
mQINBFbJ/B0BEADZx8l5gRurzhEHcc3PbBepdZqDJQZ2cGHixi8VEk9iN25qJO5y
|
|
|
|
HB0q5sQRsh7oNCbzKp6qRhaG9kXmEda+Uu+qbHWxE32QcT76+W8npH73qthaFwC/
|
|
|
|
5RA8KcSE8/XFxVBnVb14PNVHyAVxPHawawbhsOeaiZcHrq5IF6sVzcsc2KN87sIE
|
|
|
|
SthR4E01LBK4AFeFuKxga9OKFQV5WJNrihu+6H4wZwUfMpbE552N1r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ZyLF9HTtoy3wCYsgWA5EmLanjAsVU2YEeAA0rxzdtYP8Y2okFiJ6u+M4HQZ3Wg3peSodyp3vxdYce2vk4EKeqEFuuS82850DYb7Et7fmp+wQQUT8Q/bMO0DreWjHoMM5lE4LJ4ME6AxksmMiFtfo/4Fe2q9D+LAqZ+ANOcv9M+8Rn6ngiYmuRNd0l/a02q1PEvO6vTfXgcl4f7Z1IULHPEaDNZHCJS1K5RXYFqYQ6OHsTmOm7hnwaRAS97+VFMo1i5uvTx9nYaAcY7yzq3Ckfb67dMBKApGOpJpkvPgfrP7bgBO5rOZXM1opXqVPb09nljAhhAhyCTh1e/8+mJrBo0cLQ/LupQzVxGDgm3awSMPxsZAN45PSWz76zzxdDa1MMo51do+VJHfs7Wl0NcXAQrniOBYL9Wqt0qNkn1gY5smkkISGeQ/vxNap4MmzeZE7b5fpOy+2fpcRVQLpc4nooQzJvSVTFz+25lgZ6iHf45K87gQFMIAri1Pf/EDDpL87az+bRWvWi+BA2kMe1kf+Ay1LyMz8r+g51H0ma0bNFh6+fbWMfUiD9JCepIObclnUJ4NlWfcgHxTf17d/4tl6z4DTcLpCCk8Da77JouSHgvtcRbRlFV1OfhWZLXUsrlfpaQTiItv6TGIr3k7+7b66o3Qw/GQVs5GmYifaIZIz8n8my4XjkaMBd0SZfBzzvFjHMq6YUP9+SbjvReqofuoO+5tW1wTYZXitFFBfwuHlXm6w77K5QDBW6olT7pat41/F5eGxLcz tv@wu";
|
2016-03-31 01:48:43 +00:00
|
|
|
uid = 1337; # TODO use default and document what has to be done (for vv)
|
2015-11-06 18:45:50 +00:00
|
|
|
};
|
2016-02-07 04:17:07 +00:00
|
|
|
tv-nomic = {
|
2015-11-06 18:45:50 +00:00
|
|
|
inherit (tv) mail;
|
|
|
|
pubkey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3dYR/n4Yw8OsYmfR2rSUG7o10G6AqOlSJHuHSEmANbMkqjiWl1TnpORtt5bAktyAGI4vWf9vhNEn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bVmmGMI80grNwMsHzQ6bynHSPXDoLf4WodXlhS0+9Ju5QavDT6uqZ9uhDBuWC8QNgWUMIJnEaTBFyA0OI1akl8Q2RLC+qnNf5IwItSq+GDwEsB2ZJNW3kOk1kNiCUrBafRYpPaFeP97wzzP4uYlBKAr2SOLrrkf7NFEdw2ihxhDMNnps/ErRJ8U0zdpmalw8mItGyqRULpHjk/wN00rYOdBIhW3G3QJuVgtGnWtGCBG5x70EfMiSEXPD3YSsVVsgKD+v8qr+YiilRRD+N3gaHhiOWA6HgxRNul/P4llk0ktTpb9LoHk2+oooTH5ZuuT/8yF8J4stZt7EIOH+mSOAXG1z0BwnEkQu7pVKwu/oOZpGJTvBrGwww== tv@xu";
|
2015-10-01 16:56:41 +00:00
|
|
|
};
|
2016-03-31 01:48:43 +00:00
|
|
|
vv = {
|
|
|
|
mail = "vv@mu.r";
|
|
|
|
uid = 2000; # TODO use default
|
|
|
|
};
|
2015-10-01 16:56:41 +00:00
|
|
|
};
|
|
|
|
}
|