nixos/modules: Remove all usages of types.string

And replace them with a more appropriate type

Also fix up some minor module problems along the way
This commit is contained in:
Silvan Mosberger 2019-08-08 22:48:27 +02:00
parent 69d58ee245
commit 478e7184f8
No known key found for this signature in database
GPG key ID: 9424360B4B85C9E7
118 changed files with 325 additions and 324 deletions

View file

@ -65,9 +65,9 @@ in
default = false;
description = "Enable client authentication. Creates a default superuser with username root!";
};
initialRootPassword = mkOption {
type = types.nullOr types.string;
type = types.nullOr types.str;
default = null;
description = "Password for the root user if auth is enabled.";
};