summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-08-19 02:26:27 +0200
committertv <tv@krebsco.de>2020-08-19 02:27:02 +0200
commitc61d99ccc653c9bee950c9e2d8a3f5bf6f4d8d1c (patch)
tree7fdc4de649ea0ca0934c0245fa1f6f78a2eb1843 /tv
parentb0880d573677e0f32562a40d127910ec6a1d3ae2 (diff)
tv: privatize gg23
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/default.nix1
-rw-r--r--tv/2configs/nets/gg23.nix69
2 files changed, 70 insertions, 0 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 4d27b0ea..01f83482 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -16,6 +16,7 @@ with import <stockholm/lib>;
./backup.nix
./bash
./htop.nix
+ ./nets/gg23.nix
./nginx
./pki
./ssh.nix
diff --git a/tv/2configs/nets/gg23.nix b/tv/2configs/nets/gg23.nix
new file mode 100644
index 00000000..fc5d239d
--- /dev/null
+++ b/tv/2configs/nets/gg23.nix
@@ -0,0 +1,69 @@
+{
+ krebs = {
+ dns.providers.gg23 = "hosts";
+ hosts = {
+ nomic = {
+ nets.gg23 = {
+ ip4 = {
+ addr = "10.23.1.110";
+ prefix = "10.23.1.0/24";
+ };
+ aliases = [
+ "nomic.gg23"
+ ];
+ ssh.port = 11423;
+ };
+ };
+ ok = {
+ external = true;
+ nets.gg23 = {
+ ip4 = {
+ addr = "10.23.1.1";
+ prefix = "10.23.1.0/24";
+ };
+ aliases = [
+ "ok.gg23"
+ ];
+ };
+ };
+ wu = {
+ nets.gg23 = {
+ ip4 = {
+ addr = "10.23.1.37";
+ prefix = "10.23.1.0/24";
+ };
+ aliases = [
+ "wu.gg23"
+ "cache.wu.gg23"
+ ];
+ ssh.port = 11423;
+ };
+ };
+ xu = {
+ nets.gg23 = {
+ ip4 = {
+ addr = "10.23.1.38";
+ prefix = "10.23.1.0/24";
+ };
+ aliases = [
+ "xu.gg23"
+ "cache.xu.gg23"
+ ];
+ ssh.port = 11423;
+ };
+ };
+ zu = {
+ nets.gg23 = {
+ ip4 = {
+ addr = "10.23.1.39";
+ prefix = "10.23.1.0/24";
+ };
+ aliases = [
+ "zu.gg23"
+ ];
+ ssh.port = 11423;
+ };
+ };
+ };
+ };
+}