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
+1 -1
View File
@@ -172,7 +172,7 @@ in {
};
database = mkOption {
type = types.str;
type = types.nullOr types.str;
default = null;
description = "Database name to store sms data";
};