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

+6 -7
View File
@@ -48,21 +48,20 @@ pkgs.testers.runNixOSTest {
inherit serverAddress;
routing.via = "direct";
openFirewall = true;
users = {
tester.uuidFile = "/run/inbound-secrets/uuid";
ss-user.passwordFile = "/run/inbound-secrets/password";
};
listeners.vless-in = {
type = "vless";
port = 8443;
users = [
{
name = "tester";
uuidFile = "/run/inbound-secrets/uuid";
}
];
users = [ "tester" ];
};
listeners.ss-in = {
type = "shadowsocks";
port = 8388;
method = "2022-blake3-aes-128-gcm";
users = [ { passwordFile = "/run/inbound-secrets/password"; } ];
users = [ "ss-user" ];
};
};
};