summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <makefu@tsp>2015-08-13 12:02:26 +0200
committermakefu <makefu@tsp>2015-08-13 12:02:26 +0200
commitab2d3f96be09e4a77f33b7ce2f3b96dbc9b57c39 (patch)
tree73eb2a1eff37b8b191eafde8aa99d8e1f1e8af3c
parent0862e949f6b736c76b601acd3b17262521175c31 (diff)
services: add pigstarter
-rw-r--r--krebs/3modules/default.nix39
1 files changed, 38 insertions, 1 deletions
diff --git a/krebs/3modules/default.nix b/krebs/3modules/default.nix
index a533fcf64..8573c5a05 100644
--- a/krebs/3modules/default.nix
+++ b/krebs/3modules/default.nix
@@ -164,7 +164,7 @@ let
{ krebs = tv-imp; }
{
krebs.dns.providers = {
- de.krebsco = "ovh";
+ de.krebsco = "zones";
internet = "hosts";
retiolum = "hosts";
};
@@ -334,6 +334,43 @@ let
};
};
};
+ pigstarter = {
+ cores = 1;
+ dc = "makefu"; #x200
+ nets = {
+ internet = {
+ addrs4 = ["192.40.56.122"];
+ addrs6 = ["2604:2880::841f:72c"];
+ aliases = [
+ "pigstarter.internet"
+ ];
+ zones = [
+ { "pigstarter.krebsco.de" = "A";}
+ { "io.krebsco.de" = "NS";}
+ { "io.krebsco.de" = "A";}
+ { "mx42.krebsco.de" = "MX";}
+ { "mx42.krebsco.de" = "A";}
+ ];
+ };
+ retiolum = {
+ addrs4 = ["10.243.0.153"];
+ addrs6 = ["42:9143:b4c0:f981:6030:7aa2:8bc5:4110"];
+ aliases = [
+ "pigstarter.retiolum"
+ ];
+ tinc.pubkey = ''
+ -----BEGIN RSA PUBLIC KEY-----
+ MIIBCgKCAQEA/efJuJRLUIZROe3QE8WYTD/zyNGRh9I2/yw+5It9HSNVDMIOV1FZ
+ 9PaspsC+YQSBUQRN8SJ95G4RM6TIn/+ei7LiUYsf1Ik+uEOpP5EPthXqvdJEeswv
+ 3QFwbpBeOMNdvmGvQLeR1uJKVyf39iep1wWGOSO1sLtUA+skUuN38QKc1BPASzFG
+ 4ATM6rd2Tkt8+9hCeoePJdLr3pXat9BBuQIxImgx7m5EP02SH1ndb2wttQeAi9cE
+ DdJadpzOcEgFatzXP3SoKVV9loRHz5HhV4WtAqBIkDvgjj2j+NnXolAUY25Ix+kv
+ sfqfIw5aNLoIX4kDhuDEVBIyoc7/ofSbkQIDAQAB
+ -----END RSA PUBLIC KEY-----
+ '';
+ };
+ };
+ };
};
users = addNames {
makefu = {