summary refs log tree commit diff
path: root/nixos/modules/programs/ssmtp.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2014-11-05 02:42:12 +0300
committerNikolay Amiantov <ab@fmap.me>2014-11-05 02:42:48 +0300
commit292e07689a012b40945f71409441a5813eaede4c (patch)
tree544dd4cb36cb64fc6d48c2b41d93f9554bb4d0fe /nixos/modules/programs/ssmtp.nix
parent0bba805fa6817479bb0cc4a06d99d08ba98b25ce (diff)
downloadnixpkgs-292e07689a012b40945f71409441a5813eaede4c.tar
nixpkgs-292e07689a012b40945f71409441a5813eaede4c.tar.gz
nixpkgs-292e07689a012b40945f71409441a5813eaede4c.tar.bz2
nixpkgs-292e07689a012b40945f71409441a5813eaede4c.tar.lz
nixpkgs-292e07689a012b40945f71409441a5813eaede4c.tar.xz
nixpkgs-292e07689a012b40945f71409441a5813eaede4c.tar.zst
nixpkgs-292e07689a012b40945f71409441a5813eaede4c.zip
ssmtp: add types to options
Diffstat (limited to 'nixos/modules/programs/ssmtp.nix')
-rw-r--r--nixos/modules/programs/ssmtp.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/programs/ssmtp.nix b/nixos/modules/programs/ssmtp.nix
index 34eafd4fa84..a2cedb84321 100644
--- a/nixos/modules/programs/ssmtp.nix
+++ b/nixos/modules/programs/ssmtp.nix
@@ -20,6 +20,7 @@ in
     networking.defaultMailServer = {
 
       directDelivery = mkOption {
+        type = types.bool;
         default = false;
         example = true;
         description = ''
@@ -35,6 +36,7 @@ in
       };
 
       hostName = mkOption {
+        type = types.str;
         example = "mail.example.org";
         description = ''
           The host name of the default mail server to use to deliver
@@ -43,6 +45,7 @@ in
       };
 
       domain = mkOption {
+        type = types.str;
         default = "";
         example = "example.org";
         description = ''
@@ -51,6 +54,7 @@ in
       };
 
       useTLS = mkOption {
+        type = types.bool;
         default = false;
         example = true;
         description = ''
@@ -60,6 +64,7 @@ in
       };
 
       useSTARTTLS = mkOption {
+        type = types.bool;
         default = false;
         example = true;
         description = ''
@@ -70,6 +75,7 @@ in
       };
 
       authUser = mkOption {
+        type = types.str;
         default = "";
         example = "foo@example.org";
         description = ''
@@ -78,6 +84,7 @@ in
       };
 
       authPass = mkOption {
+        type = types.str;
         default = "";
         example = "correctHorseBatteryStaple";
         description = ''