From 9b872761436ff2a536fb773bf1219cd9067d2ad7 Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 11 Jan 2024 17:38:35 +0900 Subject: feat(modules/matrix-bridge): target Go mautrix-signal --- modules/services/matrix-bridge.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'modules/services') diff --git a/modules/services/matrix-bridge.nix b/modules/services/matrix-bridge.nix index b2c089f..a9d3c4f 100644 --- a/modules/services/matrix-bridge.nix +++ b/modules/services/matrix-bridge.nix @@ -86,12 +86,7 @@ in services.mautrix-signal = { enable = true; - package = pkgs.mautrix-signal.overrideAttrs (prev: { - propagatedBuildInputs = (lib.lists.remove pkgs.python3Packages.mautrix prev.propagatedBuildInputs) ++ [ - # mautrix-signal wants <0.20, but nix supplies >=0.20 - pkgs.python3Packages.mautrix_0_19 - ]; - }); + package = pkgs.mautrix-signal; environmentFile = cfg.secrets.mautrix-envs; serviceDependencies = [ "matrix-synapse.service" ]; @@ -132,10 +127,9 @@ in require = true; allow_key_sharing = true; }; - # NOTE: python bridge - managed via env variable - # login_shared_secret_map = { - # "${cfg.domain}" = "as_token:$DOUBLE_PUPPET_AS_TOKEN"; - # }; + login_shared_secret_map = { + "${cfg.domain}" = "as_token:$DOUBLE_PUPPET_AS_TOKEN"; + }; permissions = { "@sef:exotic.sh" = "admin"; "exotic.sh" = "full"; -- cgit 1.4.1