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

+28
View File
@@ -0,0 +1,28 @@
{ config, pkgs, ... }:
let
proxySuite = config.lib.proxy-suite;
in
{
services.proxy-suite = {
enable = true;
proxy = {
enable = true;
outbounds = [ { tag = "my-vps"; urlFile = "/run/secrets/my-vps-url"; } ];
};
perAppRouting = {
enable = true;
createDefaultProfiles = true;
proxychains.enable = true;
tun.enable = true;
};
};
environment.systemPackages = [
(proxySuite.wrapEnv { } pkgs.yt-dlp)
(proxySuite.wrapProxychains { } pkgs.telegram-desktop)
(proxySuite.wrapPerApp { profile = "tun"; } pkgs.firefox)
];
# A service: here nix-daemon, so downloads go through the proxy.
systemd.services.nix-daemon.environment = proxySuite.envFor "http";
}