1
Fork 0

Fix intray server config syntax error

This commit is contained in:
Matei Adriel 2024-02-02 02:43:40 +01:00
parent e37b3bc363
commit d75b4f0ccd
No known key found for this signature in database

View file

@ -10,15 +10,15 @@ in
# {{{ Import intray module # {{{ Import intray module
imports = [ imports = [
# 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: (a:
# 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 a;
in in
{ {
inherit (m) options; inherit (m) options;
config = { inherit (m.config) systemd; }; config = { inherit (m.config) systemd; };
} })
]; ];
# }}} # }}}
# {{{ Configure intray # {{{ Configure intray