1
Fork 0

Make args to patched intray explicit

This commit is contained in:
Matei Adriel 2024-02-02 02:46:27 +01:00
parent b495d72e9b
commit d850fbcb95
No known key found for this signature in database

View file

@ -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;