tv nets: gg23 -> hkw

This commit is contained in:
tv 2020-08-19 02:30:51 +02:00
parent c61d99ccc6
commit 358633f973
4 changed files with 16 additions and 16 deletions

View File

@ -27,7 +27,7 @@
enable = true;
virtualHosts.nix-serve = {
serverAliases = [
"cache.${config.krebs.build.host.name}.gg23"
"cache.${config.krebs.build.host.name}.hkw"
];
locations."/".extraConfig = ''
proxy_pass http://localhost:${toString config.services.nix-serve.port};

View File

@ -16,7 +16,7 @@ with import <stockholm/lib>;
./backup.nix
./bash
./htop.nix
./nets/gg23.nix
./nets/hkw.nix
./nginx
./pki
./ssh.nix

View File

@ -1,65 +1,65 @@
{
krebs = {
dns.providers.gg23 = "hosts";
dns.providers.hkw = "hosts";
hosts = {
nomic = {
nets.gg23 = {
nets.hkw = {
ip4 = {
addr = "10.23.1.110";
prefix = "10.23.1.0/24";
};
aliases = [
"nomic.gg23"
"nomic.hkw"
];
ssh.port = 11423;
};
};
ok = {
external = true;
nets.gg23 = {
nets.hkw = {
ip4 = {
addr = "10.23.1.1";
prefix = "10.23.1.0/24";
};
aliases = [
"ok.gg23"
"ok.hkw"
];
};
};
wu = {
nets.gg23 = {
nets.hkw = {
ip4 = {
addr = "10.23.1.37";
prefix = "10.23.1.0/24";
};
aliases = [
"wu.gg23"
"cache.wu.gg23"
"wu.hkw"
"cache.wu.hkw"
];
ssh.port = 11423;
};
};
xu = {
nets.gg23 = {
nets.hkw = {
ip4 = {
addr = "10.23.1.38";
prefix = "10.23.1.0/24";
};
aliases = [
"xu.gg23"
"cache.xu.gg23"
"xu.hkw"
"cache.xu.hkw"
];
ssh.port = 11423;
};
};
zu = {
nets.gg23 = {
nets.hkw = {
ip4 = {
addr = "10.23.1.39";
prefix = "10.23.1.0/24";
};
aliases = [
"zu.gg23"
"zu.hkw"
];
ssh.port = 11423;
};

View File

@ -9,7 +9,7 @@ with import <stockholm/lib>;
serverAliases = [
"localhost"
"${config.krebs.build.host.name}"
"${config.krebs.build.host.name}.gg23"
"${config.krebs.build.host.name}.hkw"
"${config.krebs.build.host.name}.r"
];
locations."~ ^/~(.+?)(/.*)?\$".extraConfig = ''