Shadowsocks module

This commit is contained in:
pazpi 2025-03-20 21:45:22 +01:00
parent 49cfefa8af
commit 90b8a5f8b7
4 changed files with 45 additions and 9 deletions

View file

@ -18,6 +18,13 @@ in
my = {
networking = {
shadownsocks = {
enable = true;
port = shadowshocks-port;
passwordFile = config.age.secrets.shadowshocks-password.path;
};
tailscale = {
enable = true;
magicDNSDomain = p.domains.tsDns;
@ -34,14 +41,5 @@ in
virtualisation.proxmox.enable = true;
};
services.shadowsocks = {
enable = true;
passwordFile = config.age.secrets.shadowshocks-password.path;
port = shadowshocks-port;
};
# open shadownsocks port
networking.firewall.allowedTCPPorts = [ shadowshocks-port ];
system.stateVersion = "24.11";
}