mirror of
https://github.com/dali99/nixos-matrix-modules.git
synced 2025-09-10 04:53:48 +02:00
move matrix-lib to let block
Else it has to be called with { } which modules cant do
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user