28 lines
400 B
Nix
28 lines
400 B
Nix
{
|
|
lib,
|
|
name,
|
|
...
|
|
}:
|
|
let
|
|
types = lib.types;
|
|
in
|
|
{
|
|
# clan.templates.clan.<template-name>
|
|
options = {
|
|
path = lib.mkOption {
|
|
type = types.path;
|
|
description = ''
|
|
Holds the path to the clan template.
|
|
'';
|
|
};
|
|
|
|
name = lib.mkOption {
|
|
type = types.str;
|
|
default = name;
|
|
description = ''
|
|
The name of the template.
|
|
'';
|
|
};
|
|
};
|
|
}
|