19 lines
337 B
Nix
19 lines
337 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
services.proxy-suite = {
|
|
enable = true;
|
|
proxy = {
|
|
enable = true;
|
|
outbounds = [ { tag = "my-vps"; urlFile = "/run/secrets/my-vps-url"; } ];
|
|
};
|
|
perAppRouting = {
|
|
enable = true;
|
|
createDefaultProfiles = true;
|
|
tun = {
|
|
enable = true;
|
|
keepRunning = true;
|
|
};
|
|
};
|
|
};
|
|
}
|