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, config,
lib, lib,
pkgs, modulesPath,
options, options,
pkgs,
... ...
}: }:
@ -391,7 +392,7 @@ in
}; };
caddyConfig = lib.mkOption { caddyConfig = lib.mkOption {
type = lib.types.submodule ( 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 = { }; default = { };
description = '' description = ''
@ -401,7 +402,7 @@ in
}; };
nginxConfig = lib.mkOption { nginxConfig = lib.mkOption {
type = lib.types.submodule ( 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 = { }; default = { };
description = '' description = ''