refactor: users single-point

This commit is contained in:
fufsob committed 2026-09-29 05:39:33 +00:00
1 parent c8b9b3de46
commit a4752049ef
35 files changed
+1009 -381

No files matched your search

+4 -12
View File
@@ -120,16 +120,12 @@ in
inbounds = {
enable = true;
serverAddress = "203.0.113.1";
users.a.password = "b";
listeners.main = {
type = "socks";
port = 1081;
via = "exit";
users = [
{
name = "a";
password = "b";
}
];
users = [ "a" ];
};
};
};
@@ -276,16 +272,12 @@ in
inbounds = {
enable = true;
serverAddress = "203.0.113.1";
users.a.password = "b";
listeners.main = {
type = "socks";
port = 1081;
via = "exit";
users = [
{
name = "a";
password = "b";
}
];
users = [ "a" ];
};
};
}