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
@@ -47,7 +47,7 @@ in {
enable = mkEnableOption "Icecast server";
hostname = mkOption {
type = types.str;
type = types.nullOr types.str;
description = "DNS name or IP address that will be used for the stream directory lookups or possibily the playlist generation if a Host header is not provided.";
default = config.networking.domain;
};