zaphyra's git: nixfiles

zaphyra and void's nixfiles

commit 5670490bdf59e84eda7fdfc4c1ca994146924d2d
parent 1ab6b4157df9e9797bd42c096bb0aa835b7e0745
Author: Katja (zaphyra) <git@ctu.cx>
Date: Fri, 13 Jun 2025 20:06:36 +0200

config/nixos/modules/websites: move website from `katja.wtf` to `zaphyra.eu`, add gpg-wkd stuff
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/config/nixos/modules/websites/katja.wtf.nix b/config/nixos/modules/websites/katja.wtf.nix
@@ -36,7 +36,6 @@ in
         useACMEHost = "${config.networking.fqdn}";
         forceSSL = true;
         kTLS = true;
-        root = pkgs.zaphyra-website;
       };
     };
   };
diff --git a/config/nixos/modules/websites/zaphyra.eu.nix b/config/nixos/modules/websites/zaphyra.eu.nix
@@ -2,6 +2,7 @@
   povSelf,
   hostConfig,
   config,
+  pkgs,
   lib,
   dnsNix,
   ...

@@ -35,6 +36,12 @@ in
         useACMEHost = "${config.networking.fqdn}";
         forceSSL = true;
         kTLS = true;
+        root = pkgs.zaphyra-website;
+        extraConfig = ''
+          location /.well-known/openpgpkey {
+              add_header Access-Control-Allow-Origin * always;
+          }
+        '';
       };
     };
   };