summaryrefslogtreecommitdiffstats
path: root/tv/2configs
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
commita3ae5ca4c2076dea30edc89231b3ff2a5967dba5 (patch)
tree65927d30b59ab911e22a196af073d225bf51258b /tv/2configs
parent84462c85d6039407159a98e75c6180238c362707 (diff)
tv nets: gg23 -> hkw
Diffstat (limited to 'tv/2configs')
-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 866434c..f6eaba3 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 01f8348..9db3518 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 fc5d239..725e63b 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 cc7a398..a37498b 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 = ''