add tor with maxadbw

This commit is contained in:
cy 2024-12-15 18:55:15 -05:00
parent ec1e45408f
commit 996687f7a4
2 changed files with 16 additions and 0 deletions

View file

@ -21,6 +21,7 @@
./vaultwarden.nix ./vaultwarden.nix
./wireguard.nix ./wireguard.nix
./grafana.nix ./grafana.nix
./tor.nix
]; ];
sops.defaultSopsFile = ./secrets.yaml; sops.defaultSopsFile = ./secrets.yaml;

15
hosts/chunk/tor.nix Normal file
View file

@ -0,0 +1,15 @@
{...}: {
services.tor = {
enable = true;
openFirewall = true;
relay = {
enable = true;
role = "relay";
};
settings = {
ORPort = 9001;
Nickname = "chunk";
MaxAdvertisedBandwidth = "10 MBytes";
};
};
}