core/lib/tests/maintainer-module.nix

30 lines
662 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ lib, ... }:
let
inherit (lib) types;
2024-06-30 08:16:52 +00:00
in
{
2024-05-01 22:14:04 +00:00
options = {
2024-06-30 08:16:52 +00:00
name = lib.mkOption { type = types.str; };
2024-05-01 22:14:04 +00:00
email = lib.mkOption {
type = types.nullOr types.str;
default = null;
};
matrix = lib.mkOption {
type = types.nullOr types.str;
default = null;
};
github = lib.mkOption {
type = types.nullOr types.str;
default = null;
};
githubId = lib.mkOption {
type = types.nullOr types.ints.unsigned;
default = null;
};
keys = lib.mkOption {
2024-06-30 08:16:52 +00:00
type = types.listOf (types.submodule { options.fingerprint = lib.mkOption { type = types.str; }; });
default = [ ];
2024-05-01 22:14:04 +00:00
};
};
}