X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fenvironment.nix;h=77e9c8d6d9725a6866833e01abed14da276b4df7;hp=b7589eb3489fd3da9085398ff332f43e38e59602;hb=5400b9b6f65451d41a9106fae6fc00f97d83f4ef;hpb=441da8aac378f401625e82caf281fa0e26128310 diff --git a/modules/private/environment.nix b/modules/private/environment.nix index b7589eb..77e9c8d 100644 --- a/modules/private/environment.nix +++ b/modules/private/environment.nix @@ -133,8 +133,8 @@ let ''; type = submodule { options = { - password = mkOption { type = string; description = "Password for the LDAP connection"; }; - dn = mkOption { type = string; description = "DN for the LDAP connection"; }; + password = mkOption { type = str; description = "Password for the LDAP connection"; }; + dn = mkOption { type = str; description = "DN for the LDAP connection"; }; }; }; }; @@ -156,13 +156,13 @@ let type = attrsOf (submodule { options = { ip4 = mkOption { - type = string; + type = str; description = '' ip4 address of the host ''; }; ip6 = mkOption { - type = listOf string; + type = listOf str; default = []; description = '' ip6 addresses of the host