Files
clan-core/nixosModules/clanCore/meta/interface.nix
2024-09-02 14:32:01 +02:00

19 lines
422 B
Nix

{ lib, ... }:
let
optStr = lib.types.nullOr lib.types.str;
in
{
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;
};
}