Files
clan-core/lib/inventory/build-inventory/meta-interface.nix
2024-10-04 14:30:50 +02:00

33 lines
669 B
Nix

{ lib, ... }:
let
types = lib.types;
metaOptions = {
name = lib.mkOption {
type = types.str;
description = ''
Name of the clan.
Needs to be (globally) unique, as this determines the folder name where the flake gets downloaded to.
'';
};
description = lib.mkOption {
default = null;
type = types.nullOr types.str;
description = ''
Optional freeform description
'';
};
icon = lib.mkOption {
default = null;
type = types.nullOr types.str;
description = ''
Under construction, will be used for the UI
'';
};
};
in
{
options = metaOptions;
}