docs: improve some parts

This commit is contained in:
FUFSoB committed 2026-09-25 23:23:54 +05:00
1 parent 878983147c
commit e4458dcae8
34 files changed
+932 -123

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
{ config, lib, pkgs, ... }:
{
services.proxy-suite = {
enable = true;
proxy = {
enable = true;
outbounds = [ { tag = "my-vps"; urlFile = "/run/secrets/my-vps-url"; } ];
routing.rules = [
{ domains = [ "chatgpt.com" "openai.com" ]; outbound = "warp"; }
{ domains = [ "check.torproject.org" ]; outbound = "tor"; }
];
};
# Tagged "warp". Registers a free WARP device on first start.
warp = {
enable = true;
asOutbound = "singBox";
};
# Tagged "tor". .onion names always go to it.
tor = {
enable = true;
asOutbound = true;
};
# Tagged "ssh-proxy".
sshProxy = {
enable = true;
asOutbound = true;
server = { user = "me"; host = "ssh.example.com"; };
identityFile = "/run/secrets/ssh-key";
hostKeyFile = "/run/secrets/ssh-known-hosts"; # from ssh-keyscan
};
};
}