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
@@ -32,7 +32,7 @@ in
};
package = mkOption {
type = types.package;
type = types.nullOr types.package;
default = config.boot.kernelPackages.prl-tools;
defaultText = "config.boot.kernelPackages.prl-tools";
example = literalExample "config.boot.kernelPackages.prl-tools";