treewide: fix modules options types where the default is null

They can be caught with `nixos-option -r` on an empty ({...}:{}) NixOS
configuration.
This commit is contained in:
Thibaut Marty
2020-04-28 19:13:59 +02:00
parent 27c7e7d38a
commit 4a0beed5c0
9 changed files with 10 additions and 10 deletions
@@ -83,14 +83,14 @@ in {
};
dataStorageSpace = mkOption {
type = types.str;
type = types.nullOr types.str;
default = null;
example = "/data/storage";
description = "Directory for data storage.";
};
metadataStorageSpace = mkOption {
type = types.str;
type = types.nullOr types.str;
default = null;
example = "/data/meta";
description = "Directory for meta data storage.";