at master 636 B view raw
1{ lib, ... }: 2let 3 inherit (lib) types; 4in 5{ 6 options = { 7 name = lib.mkOption { 8 type = types.str; 9 }; 10 github = lib.mkOption { 11 type = types.str; 12 }; 13 githubId = lib.mkOption { 14 type = types.ints.unsigned; 15 }; 16 email = lib.mkOption { 17 type = types.nullOr types.str; 18 default = null; 19 }; 20 matrix = lib.mkOption { 21 type = types.nullOr types.str; 22 default = null; 23 }; 24 keys = lib.mkOption { 25 type = types.listOf ( 26 types.submodule { 27 options.fingerprint = lib.mkOption { type = types.str; }; 28 } 29 ); 30 default = [ ]; 31 }; 32 }; 33}