Allow templates to take moduleArgs

This commit is contained in:
Archit Gupta 2024-01-15 02:53:17 -08:00
parent 1fc128d2aa
commit 606ac6c1bb

View File

@ -28,7 +28,8 @@ in
};
templates = mkOption {
type = optCallWith moduleArgs (lazyAttrsOf template);
type = optCallWith moduleArgs
(lazyAttrsOf (optCallWith moduleArgs template));
default = { };
};
};