2020-04-15 12:07:11 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib) types;
|
|
|
|
in {
|
|
|
|
options = {
|
|
|
|
name = lib.mkOption {
|
|
|
|
type = types.str;
|
|
|
|
};
|
|
|
|
email = lib.mkOption {
|
2023-01-05 13:34:07 +00:00
|
|
|
type = types.nullOr types.str;
|
|
|
|
default = null;
|
2020-04-15 12:07:11 +00:00
|
|
|
};
|
|
|
|
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 = [];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|