zaphyra's git: nixfiles

zaphyra and void's nixfiles

commit 732010e1aa306593c539ca66b81b0545cff9191d
parent 6bb0fd21e6e4df687ff52baf32ccd08fd93d8a9e
Author: Katja (zaphyra) <git@ctu.cx>
Date: Mon, 26 May 2025 23:55:13 +0200

config/nixos/modules/presets/katja/dnsServer: add domains: `ctu.cx`, `ctucx.de`, `thein.ovh`, `zuggeschmack.de`
1 file changed, 28 insertions(+), 0 deletions(-)
M
config/nixos/modules/presets/katja/dnsServer.nix
|
28
++++++++++++++++++++++++++++
diff --git a/config/nixos/modules/presets/katja/dnsServer.nix b/config/nixos/modules/presets/katja/dnsServer.nix
@@ -60,6 +60,34 @@ in
               ];
             };
           };
+          "ctu.cx" = {
+            inherit SOA NS CAA;
+
+            subdomains = {
+              ns1 = (
+                host inputs.self.hosts.morio.networking.ip4Address inputs.self.hosts.morio.networking.ip6Address
+              );
+              ns2 = (
+                host inputs.self.hosts.novus.networking.ip4Address inputs.self.hosts.novus.networking.ip6Address
+              );
+
+              "63bc37c61bda3c1f4fa1f270f8890c7f89c24353.acme".CNAME = [ "acme.infra.zaphyra.eu." ];
+
+              _atproto.TXT = [ "did=did:plc:zaeuok3fmh2pcp4cjiicku4i" ];
+            };
+          };
+          "ctucx.de" = {
+            inherit SOA NS CAA;
+          };
+          "thein.ovh" = {
+            inherit SOA NS CAA;
+          };
+          "zuggeschmack.de" = {
+            inherit SOA NS CAA;
+            A = [ "94.16.104.148" ];
+            AAAA = [ "2a03:4000:50:e8::1" ];
+            subdomains.client.CNAME = [ "zuggeschmack.de." ];
+          };
         };
 
     in