m 1 wry: host is the new provider for tinc.krebsco.de

This commit is contained in:
makefu 2015-10-19 21:51:20 +02:00
parent 754ea55ab8
commit 858034cc61
2 changed files with 6 additions and 2 deletions

View File

@ -130,7 +130,6 @@ with import ../../4lib { inherit lib; };
io IN NS pigstarter.krebsco.de.
pigstarter IN A ${head nets.internet.addrs4}
gold IN A ${head nets.internet.addrs4}
tinc IN A ${head nets.internet.addrs4}
boot IN A ${head nets.internet.addrs4}'';
};
nets = {
@ -167,6 +166,7 @@ with import ../../4lib { inherit lib; };
"krebsco.de" = ''
wry IN A ${head nets.internet.addrs4}
graphs IN A ${head nets.internet.addrs4}
tinc IN A ${head nets.internet.addrs4}
'';
};
nets = rec {

View File

@ -34,15 +34,19 @@ in {
# prepare graphs
nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; };
krebs.nginx.enable = true;
krebs.retiolum-bootstrap.enable = true;
makefu.tinc_graphs.enable = true;
makefu.tinc_graphs.krebsNginx = {
enable = true;
# TODO: remove hard-coded hostname
hostnames_complete = [ "graphs.wry" ];
hostnames_anonymous = [ "graphs.krebsco.de" ];
};
networking.firewall.allowedTCPPorts = [80];
networking.firewall.allowedTCPPorts = [ 80 443 ];
krebs.build = {
user = config.krebs.users.makefu;