nixos-module/invoice-ninja.nix: proxys are now imported using modulesPath

This commit is contained in:
Andrew Bryant 2024-12-28 11:50:00 -05:00
parent e49ffa479b
commit 4f71751bfb

View File

@ -1,8 +1,9 @@
{
config,
lib,
pkgs,
modulesPath,
options,
pkgs,
...
}:
@ -391,7 +392,7 @@ in
};
caddyConfig = lib.mkOption {
type = lib.types.submodule (
import (../. + "/web-servers/caddy/vhost-options.nix") { cfg = config.services.caddy; }
import (modulesPath + "services/web-servers/caddy/vhost-options.nix") { cfg = config.services.caddy; }
);
default = { };
description = ''
@ -401,7 +402,7 @@ in
};
nginxConfig = lib.mkOption {
type = lib.types.submodule (
(import (../. + "/web-servers/nginx/vhost-options.nix") { inherit config lib; })
(import (modulesPath + "services/web-servers/nginx/vhost-options.nix") { inherit config lib; })
);
default = { };
description = ''