4e39849611
Not giving an email address is fine as long as the maintainer is reachable through other means, such as GitHub or Matrix.
33 lines
685 B
Nix
33 lines
685 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) types;
|
|
in {
|
|
options = {
|
|
name = lib.mkOption {
|
|
type = types.str;
|
|
};
|
|
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 {
|
|
type = types.listOf (types.submodule {
|
|
options.fingerprint = lib.mkOption { type = types.str; };
|
|
});
|
|
default = [];
|
|
};
|
|
};
|
|
}
|