move matrix-lib to let block
Else it has to be called with { } which modules cant do
This commit is contained in:
parent
cf89fa8eb9
commit
362496f4aa
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
{ matrix-lib ? (import ../lib.nix { inherit lib; }) }:
|
let
|
||||||
let
|
matrix-lib = (import ../lib.nix { inherit lib; });
|
||||||
|
|
||||||
cfg = config.services.matrix-synapse-next;
|
cfg = config.services.matrix-synapse-next;
|
||||||
wcfg = cfg.workers;
|
wcfg = cfg.workers;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue