zaphyra's git: nixfiles

zaphyra and void's nixfiles

commit 5a0d13512505cedb6c1bddaf92141c056f45a05f
parent 55f7d7d529664abc05737ba4edba6755e838d735
Author: Katja (zaphyra) <git@ctu.cx>
Date: Wed, 4 Jun 2025 12:36:28 +0200

config/nixos/modules/websites/gts.zaphyra.eu: add `phanpy` web-client
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/config/nixos/modules/websites/gts.zaphyra.eu.nix b/config/nixos/modules/websites/gts.zaphyra.eu.nix
@@ -146,6 +146,14 @@ in
                 proxyWebsockets = true;
               };
 
+              "/client/" = {
+                index = "index.html";
+                alias = "${pkgs.phanpy.override {
+                  clientName = "zaphyra's fedi";
+                  website = "https://gts.zaphyra.eu/client/";
+                  defaultInstance = "gts.zaphyra.eu";
+                }}/";
+              };
               "~ /.well-known/(webfinger|host-meta)$" = {
                 proxyPass = "http://${toString config.modules.services.gotosocial.settings.bind-address}:${toString config.modules.services.gotosocial.settings.port}";
                 extraConfig = ''