Forgot default value :|
This commit is contained in:
@@ -10,6 +10,7 @@ in {
|
|||||||
systemSettings.security.blocklist = {
|
systemSettings.security.blocklist = {
|
||||||
enable = lib.mkEnableOption "Enable basic host blocking for bad websites";
|
enable = lib.mkEnableOption "Enable basic host blocking for bad websites";
|
||||||
allowedHosts = lib.mkOption {
|
allowedHosts = lib.mkOption {
|
||||||
|
default = [ ];
|
||||||
description = "List of hosts to allow (remove from blocklist)";
|
description = "List of hosts to allow (remove from blocklist)";
|
||||||
type = lib.types.listOf lib.types.str;
|
type = lib.types.listOf lib.types.str;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user