formatting

This commit is contained in:
Valentin Gagarin 2024-11-13 15:24:41 +01:00 committed by Valentin Gagarin
parent 2595511a38
commit e531e861ce

View file

@ -22,8 +22,7 @@ in
type = with types; attrsOf (submodule config.content-types.page); type = with types; attrsOf (submodule config.content-types.page);
}; };
options.collections = mkOption options.collections = mkOption {
{
description = '' description = ''
Named collections of unnamed pages Named collections of unnamed pages
@ -66,8 +65,7 @@ in
example = [ "." ]; example = [ "." ];
default = [ config.name ]; default = [ config.name ];
}; };
entry = mkOption entry = mkOption {
{
description = "An entry in the collection"; description = "An entry in the collection";
type = types.collection (types.submodule ({ type = types.collection (types.submodule ({
imports = [ config.type ]; imports = [ config.type ];