nixos-dotfiles/hosts/titan/services/tor.nix

18 lines
535 B
Nix
Raw Permalink Normal View History

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";
};
};
}