treewide: upstreaming changes

Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
s0me1newithhand7s 2025-10-24 20:48:35 +03:00
parent d159232b37
commit e4e1b03c7e
No known key found for this signature in database
160 changed files with 3408 additions and 5474 deletions

View file

@ -0,0 +1,14 @@
{...}: {
virtualisation = {
oci-containers = {
backend = "docker";
};
docker = {
enable = true;
rootless = {
enable = true;
};
};
};
}

View file

@ -0,0 +1,26 @@
{...}: {
virtualisation = {
oci-containers = {
containers = {
"3x-ui" = {
autoStart = true;
image = "ghcr.io/mhsanaei/3x-ui:latest";
volumes = [
"/docker/3x-ui/db/:/etc/x-ui/"
"/docker/3x-ui/certs/:/root/cert/"
];
environment = {
XRAY_VMESS_AEAD_FORCED = toString false;
XUI_ENABLE_FAIL2BAN = toString false;
};
extraOptions = [
"--network=host"
"--tty=true"
];
};
};
};
};
}