big staging update

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2025-12-29 16:42:07 +03:00
parent 0bf4c9cfca
commit 2939b08891
324 changed files with 6897 additions and 6797 deletions

View file

@ -1,91 +1,91 @@
{
# config,
...
# config,
...
}: {
services = {
sing-box = {
enable = true;
settings = {
log = {
level = "debug";
};
dns = {
servers = [
{
type = "local";
tag = "local";
}
];
final = "local";
strategy = "prefer_ipv6";
};
route = {
final = "direct-out";
auto_detect_interface = true;
};
outbounds = [
{
tag = "direct-out";
type = "direct";
}
];
inbounds = [
{
type = "vless";
tag = "vless-inbound";
listen = "::";
listen_port = 53570;
users = [
{
name = "hand7s_1";
uuid = "${singboxUUID2}";
flow = "xtls-rprx-vision";
}
{
name = "hand7s_2";
uuid = "${singboxUUID2}";
flow = "xtls-rprx-vision";
}
];
tls = rec {
enabled = true;
server_name = "vk.com";
reality = {
enabled = true;
max_time_difference = "5m";
handshake = {
server = server_name;
server_port = 443;
};
private_key = "${singboxKey}";
short_id = [
"${singboxId}"
];
};
};
transport = {
type = "httpupgrade";
};
multiplex = {
enabled = true;
padding = false;
};
}
];
};
services = {
sing-box = {
enable = true;
settings = {
log = {
level = "debug";
};
dns = {
servers = [
{
type = "local";
tag = "local";
}
];
final = "local";
strategy = "prefer_ipv6";
};
route = {
final = "direct-out";
auto_detect_interface = true;
};
outbounds = [
{
tag = "direct-out";
type = "direct";
}
];
inbounds = [
{
type = "vless";
tag = "vless-inbound";
listen = "::";
listen_port = 53570;
users = [
{
name = "hand7s_1";
uuid = "${singboxUUID2}";
flow = "xtls-rprx-vision";
}
{
name = "hand7s_2";
uuid = "${singboxUUID2}";
flow = "xtls-rprx-vision";
}
];
tls = rec {
enabled = true;
server_name = "vk.com";
reality = {
enabled = true;
max_time_difference = "5m";
handshake = {
server = server_name;
server_port = 443;
};
private_key = "${singboxKey}";
short_id = [
"${singboxId}"
];
};
};
transport = {
type = "httpupgrade";
};
multiplex = {
enabled = true;
padding = false;
};
}
];
};
};
};
}