mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-30 01:03:08 +02:00
18 lines
535 B
Nix
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";
|
||
|
};
|
||
|
};
|
||
|
}
|