Add discord

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-08-28 13:13:25 +03:00
parent b81d4231a0
commit 0c2dee2ecb
13 changed files with 177 additions and 10 deletions

View File

@@ -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;
}
);
};