summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-08-19 02:30:51 +0200
committertv <tv@krebsco.de>2020-08-19 02:30:51 +0200
commit358633f9737c8327d6028ebfadf72cbb51df70fb (patch)
tree7e8f573ad0ae14e6cd0acba69e6f7d84aa6c471f
parentc61d99ccc653c9bee950c9e2d8a3f5bf6f4d8d1c (diff)
tv nets: gg23 -> hkw
-rw-r--r--tv/2configs/binary-cache/default.nix2
-rw-r--r--tv/2configs/default.nix2
-rw-r--r--tv/2configs/nets/hkw.nix (renamed from tv/2configs/nets/gg23.nix)26
-rw-r--r--tv/2configs/nginx/public_html.nix2
4 files changed, 16 insertions, 16 deletions
diff --git a/tv/2configs/binary-cache/default.nix b/tv/2configs/binary-cache/default.nix
index 866434cb..f6eaba36 100644
--- a/tv/2configs/binary-cache/default.nix
+++ b/tv/2configs/binary-cache/default.nix
@@ -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};
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 01f83482..9db35184 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -16,7 +16,7 @@ with import <stockholm/lib>;
./backup.nix
./bash
./htop.nix
- ./nets/gg23.nix
+ ./nets/hkw.nix
./nginx
./pki
./ssh.nix
diff --git a/tv/2configs/nets/gg23.nix b/tv/2configs/nets/hkw.nix
index fc5d239d..725e63b1 100644
--- a/tv/2configs/nets/gg23.nix
+++ b/tv/2configs/nets/hkw.nix
@@ -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;
};
diff --git a/tv/2configs/nginx/public_html.nix b/tv/2configs/nginx/public_html.nix
index cc7a3989..a37498ba 100644
--- a/tv/2configs/nginx/public_html.nix
+++ b/tv/2configs/nginx/public_html.nix
@@ -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 = ''