nixos tests: add documentation machine

This commit is contained in:
Johannes Kirschbauer
2024-09-02 14:32:01 +02:00
parent 0f823c3eac
commit 91ea8b23ca
3 changed files with 50 additions and 12 deletions

View File

@@ -3,7 +3,16 @@ let
optStr = lib.types.nullOr lib.types.str;
in
{
options.clan.meta.name = lib.mkOption { type = lib.types.str; };
options.clan.meta.description = lib.mkOption { type = optStr; };
options.clan.meta.icon = lib.mkOption { type = optStr; };
options.clan.meta.name = lib.mkOption {
description = "The name of the clan";
type = lib.types.str;
};
options.clan.meta.description = lib.mkOption {
description = "The description of the clan";
type = optStr;
};
options.clan.meta.icon = lib.mkOption {
description = "The location of the clan icon";
type = optStr;
};
}