nixos/zeronet: fix settings option (#128976)

This commit is contained in:
misuzu 2024-12-04 21:42:01 +02:00 committed by GitHub
commit 52b4f50573
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ in with lib; {
package = mkPackageOption pkgs "zeronet" { };
settings = mkOption {
type = with types; attrsOf (oneOf [ str int bool (listOf str) ]);
type = with types; attrsOf (attrsOf (oneOf [ str int bool (listOf str) ]));
default = {};
example = literalExpression "{ global.tor = enable; }";