summary refs log blame commit diff
path: root/lib/tests/maintainer-module.nix
blob: afa12587a98d7d668ed7ac63c3ed6c53de519964 (plain) (tree)
1
2
3
4
5
6
7
8
9








                          

                                    




















                                                                 
{ 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 = [];
    };
  };
}