nixOS/modules
Sergei Poljanski ffb7554594
dpi-tunnel: add an Xray Reality PQ full-tunnel client
DPI on some uplinks throttles WireGuard. Tunnel everything through Xray
VLESS + REALITY with post-quantum VLESS Encryption on tun1. Routes in
the main table that are more specific than the default (LAN, wg*
prefixes) keep priority; prefixes listed in the routes secret are
forced through the tunnel. The client's own uplink is fwmarked so it
never loops back into tun1.

UDP sessions on the tun device stay pinned to a dead mux link after
suspend or Wi-Fi loss, so restart the client on resume and whenever
NetworkManager brings up a new uplink. Stopping the unit removes all
the rules and routes.

Secrets come from secrets/dpi-tunnel.yaml through sops. Only the
.example skeleton is tracked.

Assisted-by: Claude:opus-5-5
2026-11-08 05:08:45 +04:00
..
boot.nix boot: collect garbage weekly and cap boot entries 2026-11-08 05:08:45 +04:00
desktop.nix desktop: point the mutter touch patch at upstream !5375 2026-10-13 08:24:00 +04:00
dpi-tunnel.nix dpi-tunnel: add an Xray Reality PQ full-tunnel client 2026-11-08 05:08:45 +04:00
gaming.nix gaming: enable gamescope 2026-07-11 22:36:01 +04:00
hostel-wifi.nix xray: config via sops, private routes spliced into sing-box at runtime 2026-07-14 12:24:33 +04:00
lemonade.nix lemonade: XDNA2 NPU LLM serving via nix-amd-ai 2026-07-11 22:36:00 +04:00
litecoin-pkg.nix litecoin: build against the default openssl 2026-10-20 20:36:55 +04:00
litecoin.nix litecoin: build against the default openssl 2026-10-20 20:36:55 +04:00
locale.nix locale: use en_IE for regional formats 2026-11-08 05:08:45 +04:00
networking.nix networking: recover the WWAN modem after a cold boot 2026-10-20 20:37:11 +04:00
ollama.nix ollama: model store to /mnt/data, gfx1151 rocBLAS workaround, load tuning 2026-07-11 22:36:00 +04:00
packages.nix flake: update inputs 2026-11-08 05:08:44 +04:00
power.nix power: drop the disk swapfile and hibernate 2026-11-08 05:08:45 +04:00
programs.nix programs: use the GNOME pinentry for gpg-agent 2026-10-13 08:24:00 +04:00
security.nix flake: update inputs 2026-11-08 05:08:44 +04:00
shell.nix shell: drop the nrs alias 2026-10-20 12:10:05 +04:00
sops.nix sops: introduce sops-nix (age), ssh keys from encrypted tarball, .example secrets 2026-07-14 12:24:21 +04:00
users.nix Xray + system-wide proxy config. Fuck Turkey DPI :3 2026-04-06 01:56:55 +03:00
wireguard.nix wireguard: wg0/wg2 configs from sops 2026-07-14 12:24:33 +04:00
xfce-x11-test.nix desktop: add an xfce-x11 boot specialisation 2026-10-20 12:10:06 +04:00
xray.nix flake: update inputs 2026-11-08 05:08:44 +04:00