add tor with maxadbw
This commit is contained in:
parent
ec1e45408f
commit
996687f7a4
2 changed files with 16 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
./vaultwarden.nix
|
||||
./wireguard.nix
|
||||
./grafana.nix
|
||||
./tor.nix
|
||||
];
|
||||
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
|
|
15
hosts/chunk/tor.nix
Normal file
15
hosts/chunk/tor.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{...}: {
|
||||
services.tor = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
relay = {
|
||||
enable = true;
|
||||
role = "relay";
|
||||
};
|
||||
settings = {
|
||||
ORPort = 9001;
|
||||
Nickname = "chunk";
|
||||
MaxAdvertisedBandwidth = "10 MBytes";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue