@@ -71,7 +71,7 @@ in
|
||||
description = "Extra configuration lines to add to the theme reload script.";
|
||||
};
|
||||
|
||||
templates = mkOption {
|
||||
template = mkOption {
|
||||
type = attrsOf (
|
||||
submodule (
|
||||
{ name, config, ... }:
|
||||
@@ -514,7 +514,7 @@ in
|
||||
templates = builtins.mapAttrs (name: template: {
|
||||
input_path = template.source or (pkgs.writeText name template.text);
|
||||
output_path = template.target;
|
||||
}) cfg.templates;
|
||||
}) cfg.template;
|
||||
}
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user