From 606ac6c1bbd8cbaa672d927f9c1865b5914dc80a Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Mon, 15 Jan 2024 02:53:17 -0800 Subject: [PATCH] Allow templates to take moduleArgs --- builtinModules/templates.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builtinModules/templates.nix b/builtinModules/templates.nix index 95823ec..e3b63ec 100644 --- a/builtinModules/templates.nix +++ b/builtinModules/templates.nix @@ -28,7 +28,8 @@ in }; templates = mkOption { - type = optCallWith moduleArgs (lazyAttrsOf template); + type = optCallWith moduleArgs + (lazyAttrsOf (optCallWith moduleArgs template)); default = { }; }; };