about summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2020-09-26 09:11:57 -0400
committerAaron Andersen <aaron@fosslib.net>2020-10-20 19:50:18 -0400
commita1acbfbfcb8cb81f0172ff543013793a4f6d492a (patch)
treec09acb576f31401bf656215f87c0a9c6bb25d55f /nixos/modules/config
parentd89aff670a204496421a4b67043749ef3c4d319b (diff)
nixos/ldap: add missing types
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/ldap.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/config/ldap.nix b/nixos/modules/config/ldap.nix
index 98ebb5f7004f5..943a2434617e0 100644
--- a/nixos/modules/config/ldap.nix
+++ b/nixos/modules/config/ldap.nix
@@ -78,11 +78,13 @@ in
       };
 
       server = mkOption {
+        type = types.str;
         example = "ldap://ldap.example.org/";
         description = "The URL of the LDAP server.";
       };
 
       base = mkOption {
+        type = types.str;
         example = "dc=example,dc=org";
         description = "The distinguished name of the search base.";
       };