feat: proxy-tui

This commit is contained in:
fufsob committed 2026-09-14 11:06:16 +00:00
1 parent e6b92ecac7
commit eab3adf893
12 files changed
+1028 -48

No files matched your search

+1
View File
@@ -18,6 +18,7 @@
./tg-ws-proxy.nix
./geodata.nix
./tray.nix
./tui.nix
./user-control.nix
];
+8
View File
@@ -0,0 +1,8 @@
{ lib, ... }:
{
options.services.proxy-suite.tui.enable =
lib.mkEnableOption "proxy-tui, an interactive terminal UI for everything proxy-ctl controls at runtime"
// {
default = true;
};
}
+1 -1
View File
@@ -135,7 +135,7 @@ in
lib.mkMerge [
autoProxyUnits
{
environment.systemPackages = [ control.proxyCtl ];
environment.systemPackages = [ control.proxyCtl ] ++ lib.optional cfg.tui.enable control.proxyCtl.tui;
# nftables must be on for transparent routing backends. Global TUN uses
# SingBox auto_redirect programs an `inet sing-box` nftables table.