nixos/v2ray: change the type of config field (#163810)
This commit is contained in:
@@ -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 = [{
|
||||
|
||||
Reference in New Issue
Block a user