feat: proxy-tui
This commit is contained in:
12 files changed
+1028
-48
No files matched your search
@@ -18,6 +18,7 @@
|
||||
./tg-ws-proxy.nix
|
||||
./geodata.nix
|
||||
./tray.nix
|
||||
./tui.nix
|
||||
./user-control.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user