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,
|
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 = ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user