zaphyra's git: nixfiles

zaphyra's nixfiles

commit a347030441ce0c429c6e18c0e7eacfefc37f195e
parent 4c1bce7e255ee18ec2a5313119f0e9cc9c2f882f
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Sat, 26 Jul 2025 21:25:41 +0200

config/nixos/modules/services/prosody: cleanup
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/config/nixos/modules/services/prosody.nix b/config/nixos/modules/services/prosody.nix
@@ -21,7 +21,7 @@ in
     };
     adminUsers = {
       type = with types; listOf str;
-      default = [];
+      default = [ ];
     };
   };
 

@@ -96,17 +96,6 @@ in
       # c2sRequireEncryption = true;
       # s2sSecureAuth = true;
 
-      disco_items = [
-        {
-          url = "muc.xmpp.${cfg.domain}";
-          description = "Channels";
-        }
-        {
-          url = "upload.xmpp.${cfg.domain}";
-          description = "File upload";
-        }
-      ];
-
       modules = {
         disco = true; # Service discovery
         roster = true; # Allow users to have a roster. Recommended ;)

@@ -158,15 +147,6 @@ in
           domain = "muc.xmpp.${cfg.domain}";
           name = "zaphyra Chat";
           restrictRoomCreation = "local";
-          extraConfig = ''
-            modules_enabled = {
-              "muc_mam";
-              "muc_archive";
-              "vcard_muc";
-              "measure_muc";
-              "pastebin";
-            }
-          '';
         }
       ];
     };