nixos-module/invoice-ninja.nix: proxys are now imported using modulesPath
This commit is contained in:
parent
e49ffa479b
commit
4f71751bfb
@ -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 = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user