feat: add connectivity fix options + hardening

This commit is contained in:
fufsob committed 2026-09-29 03:14:24 +00:00
1 parent 364bed8d51
commit c8b9b3de46
41 files changed
+626 -111

No files matched your search

+4 -1
View File
@@ -105,7 +105,10 @@ let
${lib.optionalString viaProxy ''
args+=(--upstream-socks ${derived.localProxy.hostPart}:${toString cfg.proxy.listener.port})
''}${lib.optionalString withProxyAuth ''
args+=(--upstream-user ${lib.escapeShellArg auth.username} --upstream-pass "$(< "$CREDENTIALS_DIRECTORY/proxy-password")")
args+=(--upstream-user ${lib.escapeShellArg auth.username})
# The package reads it from here (pkgs/whitelist-bypass.nix): argv is public.
WB_UPSTREAM_PASS="$(< "$CREDENTIALS_DIRECTORY/proxy-password")"
export WB_UPSTREAM_PASS
''}
exec ${w.package}/bin/headless-${c.platform}-creator "''${args[@]}"
'';