forked from Drift/pvv-nixos-config
fix and implement sync workers
This commit is contained in:
parent
24e0f3ae32
commit
0d48059bb9
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"matrix-next": {
|
"matrix-next": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1670577007,
|
"lastModified": 1670578498,
|
||||||
"narHash": "sha256-e4ovnpSBgrX9nFBZSzTyJ9tLZxgXff9ptQszKDnQkCU=",
|
"narHash": "sha256-ckDNqNF0WAjR8PeT2WOPUrGPdaOwNweaZuenz0Cqohs=",
|
||||||
"owner": "dali99",
|
"owner": "dali99",
|
||||||
"repo": "nixos-matrix-modules",
|
"repo": "nixos-matrix-modules",
|
||||||
"rev": "240e550d4c35ebcef863ffd4adfe35207b8e53d2",
|
"rev": "9568a59b1b144c2337e5e75adb5e6c72475cd9f3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -23,6 +23,8 @@ in {
|
||||||
|
|
||||||
workers.federationSenders = 1;
|
workers.federationSenders = 1;
|
||||||
workers.federationReceivers = 1;
|
workers.federationReceivers = 1;
|
||||||
|
workers.initialSyncers = 1;
|
||||||
|
workers.normalSyncers = 1;
|
||||||
|
|
||||||
enableNginx = true;
|
enableNginx = true;
|
||||||
|
|
||||||
|
@ -191,6 +193,8 @@ in {
|
||||||
"master/1"
|
"master/1"
|
||||||
"fed-sender/1"
|
"fed-sender/1"
|
||||||
"fed-receiver/1"
|
"fed-receiver/1"
|
||||||
|
"init-sync/1"
|
||||||
|
"normal-sync/1"
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
alias = pkgs.writeTextDir "/config.json"
|
alias = pkgs.writeTextDir "/config.json"
|
||||||
|
|
Loading…
Reference in New Issue