From d850fbcb95d8d2388b750223197a7d376114c88f Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Fri, 2 Feb 2024 02:46:27 +0100 Subject: [PATCH] Make args to patched intray explicit --- hosts/nixos/lapetus/services/intray.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/lapetus/services/intray.nix b/hosts/nixos/lapetus/services/intray.nix index 22adf56..c51fa2e 100644 --- a/hosts/nixos/lapetus/services/intray.nix +++ b/hosts/nixos/lapetus/services/intray.nix @@ -11,10 +11,10 @@ in imports = [ ../../common/optional/services/nginx.nix # 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 # 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 { inherit (m) options;