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