Shadowsocks module
This commit is contained in:
parent
49cfefa8af
commit
90b8a5f8b7
4 changed files with 45 additions and 9 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue