Files
proxy-suite-flake/docs/usage/.snippets/system-wide-1.nix
T
2026-09-25 23:23:54 +05:00

14 lines
298 B
Nix

{ config, lib, pkgs, ... }:
{
services.proxy-suite = {
enable = true;
proxy = {
enable = true;
outbounds = [ { tag = "my-vps"; urlFile = "/run/secrets/my-vps-url"; } ];
tun.enable = true;
autostart = "tun"; # or null, to start it by hand
};
killSwitch.enable = true;
};
}