From 1e96e496b2beedf33756e3295a108e04c3554374 Mon Sep 17 00:00:00 2001 From: d18g Date: Sun, 5 Jul 2026 13:17:14 +0300 Subject: [PATCH] nixos/misskey: fixes for attrTag submodule docs Fix the declaration location of attributes of submodules of attrTag (cherry picked from commit f3c771e978d358c1ceb66a694178f3794febfc09) --- nixos/modules/services/web-apps/misskey.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-apps/misskey.nix b/nixos/modules/services/web-apps/misskey.nix index e02e4106a5ad..0bc4efce5261 100644 --- a/nixos/modules/services/web-apps/misskey.nix +++ b/nixos/modules/services/web-apps/misskey.nix @@ -231,7 +231,7 @@ in webserver = lib.mkOption { type = lib.types.attrTag { nginx = lib.mkOption { - type = lib.types.submodule (import ../web-servers/nginx/vhost-options.nix); + type = lib.types.submodule ../web-servers/nginx/vhost-options.nix; default = { }; description = '' Extra configuration for the nginx virtual host of Misskey. @@ -240,7 +240,7 @@ in }; caddy = lib.mkOption { type = lib.types.submodule ( - import ../web-servers/caddy/vhost-options.nix { cfg = config.services.caddy; } + lib.modules.importApply ../web-servers/caddy/vhost-options.nix { cfg = config.services.caddy; } ); default = { }; description = ''