move matrix-lib to let block

Else it has to be called with { } which modules cant do
This commit is contained in:
Daniel Lovbrotte Olsen 2023-02-17 23:59:59 +01:00
parent cf89fa8eb9
commit 362496f4aa
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
{ 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;
wcfg = cfg.workers;