load matrix-lib directly inside module
To enable use with non-flakes
This commit is contained in:
parent
59e39d551d
commit
cf89fa8eb9
|
@ -7,7 +7,7 @@
|
|||
|
||||
outputs = { self, nixpkgs-lib }: {
|
||||
nixosModules = {
|
||||
synapse = import ./synapse-module { matrix-lib = self.lib; };
|
||||
synapse = import ./synapse-module;
|
||||
};
|
||||
lib = import ./lib.nix { lib = nixpkgs-lib.lib; };
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ matrix-lib }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
{ matrix-lib ? (import ../lib.nix { inherit lib; }) }:
|
||||
let
|
||||
cfg = config.services.matrix-synapse-next;
|
||||
wcfg = cfg.workers;
|
||||
|
|
Loading…
Reference in New Issue