From 86091ce867a7aefa2a3d37136bcc1532817bca4c Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Mon, 2 Dec 2024 11:05:21 +0100 Subject: [PATCH] try to fix bridge --- modules/discord-matrix-bridge.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/discord-matrix-bridge.nix b/modules/discord-matrix-bridge.nix index 5a5cff3..f55644d 100644 --- a/modules/discord-matrix-bridge.nix +++ b/modules/discord-matrix-bridge.nix @@ -10,7 +10,7 @@ in ]; services.matrix-appservice-discord = { - enable = true; + enable = false; settings = { auth = { usePrivilegedIntents = true; # typing status and stuff @@ -22,6 +22,7 @@ in disablePresence = true; disableTypingNotifications = true; }; + inactiveAfterDays = 14; # logging.console = "silly"; }; serviceDependencies = [ "matrix-synapse.target" ]; @@ -30,4 +31,6 @@ in package = pkgs.matrix-appservice-discord; environmentFile = config.age.secrets.matrix_discord_bridge_token.path; }; + + environment.systemPackages = with pkgs; [ matrix-appservice-discord ]; }