Make args to patched intray explicit
This commit is contained in:
parent
b495d72e9b
commit
d850fbcb95
|
@ -11,10 +11,10 @@ in
|
||||||
imports = [
|
imports = [
|
||||||
../../common/optional/services/nginx.nix
|
../../common/optional/services/nginx.nix
|
||||||
# We patch out the `intray` module to allow manual configuration for nginx
|
# We patch out the `intray` module to allow manual configuration for nginx
|
||||||
(a:
|
({ lib, pkgs, config, ... }:
|
||||||
# NOTE: using `pkgs.system` before `module.options` is evaluated
|
# NOTE: using `pkgs.system` before `module.options` is evaluated
|
||||||
# leads to infinite recursion!
|
# leads to infinite recursion!
|
||||||
let m = inputs.intray.nixosModules.x86_64-linux.default a;
|
let m = inputs.intray.nixosModules.x86_64-linux.default { inherit lib pkgs config; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit (m) options;
|
inherit (m) options;
|
||||||
|
|
Loading…
Reference in a new issue