1
1
mirror of https://github.com/dali99/nixos-matrix-modules.git synced 2024-12-22 02:47:29 +01:00

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

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;