nixos/v2ray: change the type of config field (#163810)

This commit is contained in:
Arne Keller
2024-12-11 10:30:02 +01:00
committed by GitHub
+4 -2
View File
@@ -2,7 +2,9 @@
with lib;
{
let
json = pkgs.formats.json { };
in {
options = {
services.v2ray = {
@@ -32,7 +34,7 @@ with lib;
};
config = mkOption {
type = types.nullOr (types.attrsOf types.unspecified);
type = types.nullOr json.type;
default = null;
example = {
inbounds = [{