feat: setup termix and wireproxy for sock5 proxy.

This commit is contained in:
CronyAkatsuki 2026-01-31 13:54:42 +01:00
parent 02062743f8
commit 2363adccc0
9 changed files with 135 additions and 24 deletions

View file

@ -0,0 +1,39 @@
{
virtualisation.oci-containers.containers.termix = {
image = "ghcr.io/lukegus/termix:latest";
autoStart = true;
ports = [
"8484:8484"
];
labels = {
"io.containers.autoupdate" = "registry";
};
volumes = [
"/var/lib/termix:/app/data:U"
];
extraOptions = ["--network=host"];
environment.PORT = "8484";
};
services.restic.backups = {
local.paths = ["/var/lib/termix"];
server.paths = ["/var/lib/termix"];
};
services.traefik.dynamicConfigOptions.http = {
services.termix.loadBalancer.servers = [
{
url = "http://localhost:8484";
}
];
routers.termix = {
rule = "Host(`termix.home.cronyakatsuki.xyz`)";
tls = {
certResolver = "porkbun";
};
service = "termix";
entrypoints = "websecure";
};
};
}