Compare commits

..

2 commits

3 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ in
default = null; default = null;
}; };
}; };
config.name = lib.slug config.title; config.name = with lib; mkDefault (slug config.title);
config.outputs.html = lib.mkForce config.outputs.html = lib.mkForce
((cfg.templates.html.page config).override (final: prev: { ((cfg.templates.html.page config).override (final: prev: {
html = { html = {

View file

@ -34,7 +34,7 @@ in
name = mkOption { name = mkOption {
description = "Symbolic name, used as a human-readable identifier"; description = "Symbolic name, used as a human-readable identifier";
type = types.str; type = types.str;
default = lib.mkDefault name; default = name;
}; };
prefixes = mkOption { prefixes = mkOption {
description = '' description = ''

View file

@ -39,7 +39,7 @@ in
type = with types; str; type = with types; str;
}; };
}; };
config.name = lib.slug config.title; config.name = with lib; mkDefault (slug config.title);
config.summary = lib.mkDefault config.description; config.summary = lib.mkDefault config.description;
config.outputs.html = lib.mkForce config.outputs.html = lib.mkForce
((cfg.templates.html.page config).override (final: prev: { ((cfg.templates.html.page config).override (final: prev: {