From 4f71751bfbfadc8da95044a67ca4c336b3c7137e Mon Sep 17 00:00:00 2001 From: awkawb Date: Sat, 28 Dec 2024 11:50:00 -0500 Subject: [PATCH] nixos-module/invoice-ninja.nix: proxys are now imported using modulesPath --- nixos-module/invoice-ninja.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos-module/invoice-ninja.nix b/nixos-module/invoice-ninja.nix index ffdc2cd..6645e59 100644 --- a/nixos-module/invoice-ninja.nix +++ b/nixos-module/invoice-ninja.nix @@ -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 = ''