fix: vless fixes

This commit is contained in:
FUFSoB committed 2026-06-06 13:47:59 +05:00
1 parent 334755fd0e
commit 32bf2266c0
7 files changed
+171 -13

No files matched your search

+15 -2
View File
@@ -1,8 +1,8 @@
# Core sing-box options. Feature-area options live in sing-box-{outbounds,dns,tun,tproxy,routing}.nix.
{ lib, ... }:
{ lib, pkgs, ... }:
let
inherit (lib) mkOption mkEnableOption types;
inherit (lib) literalExpression mkOption mkEnableOption types;
in
{
options.services.proxy-suite.singBox = {
@@ -16,6 +16,19 @@ in
'';
};
package = mkOption {
type = types.package;
default = pkgs.sing-box;
defaultText = literalExpression "pkgs.sing-box";
example = literalExpression "pkgs.sing-box";
description = ''
sing-box package used by proxy-suite systemd services.
Override this to pin or test a specific sing-box build when upstream
protocol behavior changes.
'';
};
listenAddress = mkOption {
type = types.str;
default = "127.0.0.1";
+1 -1
View File
@@ -38,7 +38,7 @@ let
# Tool paths – defined once here and passed into sub-modules as needed.
jq = "${pkgs.jq}/bin/jq";
python3 = "${pkgs.python3}/bin/python3";
singBox = "${pkgs.sing-box}/bin/sing-box";
singBox = "${singBoxCfg.package}/bin/sing-box";
grepBin = "${pkgs.gnugrep}/bin/grep";
awk = "${pkgs.gawk}/bin/awk";
sleepBin = "${pkgs.coreutils}/bin/sleep";