From 2ee68fb0e28f448758a46172d912566623481164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 3 Nov 2023 10:12:28 +0100 Subject: [PATCH] drop xmpp setup again --- clanModules/dino.nix | 3 --- clanModules/flake-module.nix | 2 -- clanModules/prosody.nix | 30 ------------------------------ 3 files changed, 35 deletions(-) delete mode 100644 clanModules/dino.nix delete mode 100644 clanModules/prosody.nix diff --git a/clanModules/dino.nix b/clanModules/dino.nix deleted file mode 100644 index 0c75af7fe..000000000 --- a/clanModules/dino.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ pkgs, ... }: { - environment.systemPackages = [ pkgs.dino ]; -} diff --git a/clanModules/flake-module.nix b/clanModules/flake-module.nix index 608b7ab83..3e03f07a3 100644 --- a/clanModules/flake-module.nix +++ b/clanModules/flake-module.nix @@ -8,8 +8,6 @@ ]; }) (builtins.readDir ./diskLayouts); - prosody = ./prosody.nix; - dino = ./dino.nix; xfce = ./xfce.nix; }; } diff --git a/clanModules/prosody.nix b/clanModules/prosody.nix deleted file mode 100644 index d4fc5e374..000000000 --- a/clanModules/prosody.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ config -, ... -}: { - services.prosody = { - enable = true; - modules.bosh = true; - extraModules = [ "private" "vcard" "privacy" "compression" "component" "muc" "pep" "adhoc" "lastactivity" "admin_adhoc" "blocklist" ]; - virtualHosts = { - "${config.clanCore.machineName}.local" = { - domain = "${config.clanCore.machineName}.local"; - enabled = true; - }; - }; - extraConfig = '' - allow_unencrypted_plain_auth = true - ''; - c2sRequireEncryption = false; - s2sRequireEncryption = false; - muc = [{ - domain = "muc.${config.clanCore.machineName}.local"; - maxHistoryMessages = 10000; - name = "${config.clanCore.machineName} Prosody"; - }]; - uploadHttp = { - domain = "upload.${config.clanCore.machineName}.local"; - }; - }; - # xmpp-server - networking.firewall.allowedTCPPorts = [ 5269 ]; -}