blob: f81d0d9b4794478ddafa740d1dc46232a74e5ad9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ config, ... }: let
domain = config.global.userdata.domain;
in {
imports = [
./dendrite.nix
./matrix-sliding-sync.nix
];
sops.secrets."matrix-${domain}/sliding_sync" = {};
services.matrix-sliding-sync-dirty = {
enable = true;
environmentFile = config.sops.secrets."matrix-${domain}/sliding_sync".path;
settings = {
SYNCV3_LOG_LEVEL = "warn";
SYNCV3_SERVER = "http://127.0.0.1:${toString config.services.dendrite.httpPort}";
};
};
}
|