ctucx.git: nixfiles

ctucx' nixfiles

commit b04fba04b004364816b63f678f6b74f6cee63e17
parent 0ef4fad890f5c21bedd9a05713df8fffd3588ff3
Author: Leah (ctucx) <git@ctu.cx>
Date: Sun, 6 Oct 2024 19:32:16 +0200

confiigurations/linux/services/dns: remove unnecessary records
1 file changed, 2 insertions(+), 28 deletions(-)
M
configurations/linux/services/dns.nix
|
30
++----------------------------
diff --git a/configurations/linux/services/dns.nix b/configurations/linux/services/dns.nix
@@ -23,37 +23,19 @@ in {
           serial     = lib.toInt ("2023" + "03" + "04" + "1");
         };
 
-        MXApple  = with mx; [
-          (mx 10 "mx01.mail.icloud.com.")
-          (mx 10 "mx02.mail.icloud.com.")
-        ];
-
-        SPFApple = [
-          "v=spf1 include:icloud.com ~all"
-        ];
-
       in {
 
         "ctu.cx" = {
           inherit SOA NS CAA;
 
-  #        MX = MXApple;
-  #        TXT = SPFApple ++ [ "apple-domain=8Z4zfabXhvO0cjZi" ];
-
           subdomains = {
             ns1          = (host nodes.trabbi.config.networking.primaryIP4      nodes.trabbi.config.networking.primaryIP);
             ns2          = (host nodes.wanderduene.config.networking.primaryIP4 nodes.wanderduene.config.networking.primaryIP);
 
-   #         "sig1._domainkey".CNAME = [ "sig1.dkim.ctu.cx.at.icloudmailadmin.com." ];
-
             _atproto.TXT              = [ "did=did:plc:zaeuok3fmh2pcp4cjiicku4i" ];
 
-            blechkasten.CNAME         = [ "blechkasten.home" ];
-
-            "gateway.home"        = (host "195.39.246.41" "2a0f:4ac0:acab::1");
-            "blechkasten.home"    = (host "195.39.246.43" "2a0f:4ac0:acab::43");
-            "desktop.home"        = (host "195.39.246.44" "2a0f:4ac0:acab::44");
-
+            blechkasten.CNAME         = [  "blechkasten.home" ];
+            briefkasten.CNAME         = [  "briefkasten.home" ];
 
             "48-247-39-195.wireguard".A = [ (a "195.39.247.48") ];
             "49-247-39-195.wireguard".A = [ (a "195.39.247.49") ];

@@ -93,18 +75,10 @@ in {
 
         "ctucx.de" = {
           inherit SOA NS CAA;
-
-  #        MX = MXApple;
-  #        TXT = SPFApple ++ [ "apple-domain=dAXXtfWkKtR1aNoT" ];
-  #        subdomains."sig1._domainkey".CNAME = [ "sig1.dkim.ctucx.de.at.icloudmailadmin.com." ];
         };
 
         "thein.ovh" = {
           inherit SOA NS CAA;
-
-  #        MX = MXApple;
-  #        TXT = SPFApple ++ [ "apple-domain=gUI16uTaoWHz1n0P" ];
-  #        subdomains."sig1._domainkey".CNAME = [ "sig1.dkim.thein.ovh.at.icloudmailadmin.com." ];
         };
 
         "flauschehorn.sexy" = {