From d75b4f0ccd422d875f22ec88ca93b3e774f9e52c Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Fri, 2 Feb 2024 02:43:40 +0100 Subject: [PATCH] Fix intray server config syntax error --- hosts/nixos/lapetus/services/intray.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hosts/nixos/lapetus/services/intray.nix b/hosts/nixos/lapetus/services/intray.nix index 8b4c3f0..4def068 100644 --- a/hosts/nixos/lapetus/services/intray.nix +++ b/hosts/nixos/lapetus/services/intray.nix @@ -10,15 +10,15 @@ in # {{{ Import intray module imports = [ # We patch out the `intray` module to allow manual configuration for nginx - a: - # NOTE: using `pkgs.system` before `module.options` is evaluated - # leads to infinite recursion! - let m = inputs.intray.nixosModules.x86_64-linux.default a; - in - { - inherit (m) options; - config = { inherit (m.config) systemd; }; - } + (a: + # NOTE: using `pkgs.system` before `module.options` is evaluated + # leads to infinite recursion! + let m = inputs.intray.nixosModules.x86_64-linux.default a; + in + { + inherit (m) options; + config = { inherit (m.config) systemd; }; + }) ]; # }}} # {{{ Configure intray