nixos-dotfiles/hosts/titan/services/tor.nix
Alex Stan e8dc307125 towor
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
2024-04-09 23:25:40 +03:00

18 lines
535 B
Nix

inputs: { ... }: { # I probably don't need the inputs, but I'm adding them
# as an argument to be consistent with my other service modules
services.tor = {
enable = true; # fuck censorship, long live privacy and anonimity
relay = {
enable = true;
role = "relay"; # I don't want the police to show up at my door
};
settings = {
ORPort = 9001;
ControlPort = 9051;
Nickname = "graphite";
BandWidthRate = "100 MBytes";
Address = "tor.phite.ro";
};
};
}