diff options
Diffstat (limited to 'modules/services')
-rw-r--r-- | modules/services/matrix-bridge.nix | 14 |
1 files changed, 4 insertions, 10 deletions
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"; |