diff options
author | sefidel <contact@sefidel.net> | 2024-01-11 17:38:35 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-01-12 00:18:46 +0900 |
commit | 9b872761436ff2a536fb773bf1219cd9067d2ad7 (patch) | |
tree | e0c82071b58d083d442f7191825b3a0ef4621200 /modules/services/matrix-bridge.nix | |
parent | f01ccf4bbd6903e415b085db1b15cd6e4d979329 (diff) | |
download | infra-9b872761436ff2a536fb773bf1219cd9067d2ad7.tar.gz infra-9b872761436ff2a536fb773bf1219cd9067d2ad7.zip |
feat(modules/matrix-bridge): target Go mautrix-signal
Diffstat (limited to 'modules/services/matrix-bridge.nix')
-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"; |