Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ssmtp: add types to options

+7
+7
nixos/modules/programs/ssmtp.nix
··· 20 networking.defaultMailServer = { 21 22 directDelivery = mkOption { 23 default = false; 24 example = true; 25 description = '' ··· 35 }; 36 37 hostName = mkOption { 38 example = "mail.example.org"; 39 description = '' 40 The host name of the default mail server to use to deliver ··· 43 }; 44 45 domain = mkOption { 46 default = ""; 47 example = "example.org"; 48 description = '' ··· 51 }; 52 53 useTLS = mkOption { 54 default = false; 55 example = true; 56 description = '' ··· 60 }; 61 62 useSTARTTLS = mkOption { 63 default = false; 64 example = true; 65 description = '' ··· 70 }; 71 72 authUser = mkOption { 73 default = ""; 74 example = "foo@example.org"; 75 description = '' ··· 78 }; 79 80 authPass = mkOption { 81 default = ""; 82 example = "correctHorseBatteryStaple"; 83 description = ''
··· 20 networking.defaultMailServer = { 21 22 directDelivery = mkOption { 23 + type = types.bool; 24 default = false; 25 example = true; 26 description = '' ··· 36 }; 37 38 hostName = mkOption { 39 + type = types.str; 40 example = "mail.example.org"; 41 description = '' 42 The host name of the default mail server to use to deliver ··· 45 }; 46 47 domain = mkOption { 48 + type = types.str; 49 default = ""; 50 example = "example.org"; 51 description = '' ··· 54 }; 55 56 useTLS = mkOption { 57 + type = types.bool; 58 default = false; 59 example = true; 60 description = '' ··· 64 }; 65 66 useSTARTTLS = mkOption { 67 + type = types.bool; 68 default = false; 69 example = true; 70 description = '' ··· 75 }; 76 77 authUser = mkOption { 78 + type = types.str; 79 default = ""; 80 example = "foo@example.org"; 81 description = '' ··· 84 }; 85 86 authPass = mkOption { 87 + type = types.str; 88 default = ""; 89 example = "correctHorseBatteryStaple"; 90 description = ''