mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-05 00:33:09 +02:00
towor
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
parent
875856f214
commit
e8dc307125
2 changed files with 18 additions and 0 deletions
|
@ -17,6 +17,7 @@ in {
|
|||
( import ./services/cloud.nix inputs )
|
||||
( import ./services/vaultwarden.nix inputs )
|
||||
( import ./services/matrix.nix inputs )
|
||||
( import ./services/tor.nix inputs )
|
||||
# ( import ./services/office.nix inputs )
|
||||
# ( import ./services/Sharkey inputs )
|
||||
# ( import ./services/caddy.nix inputs ) # doesn't work
|
||||
|
|
17
hosts/titan/services/tor.nix
Normal file
17
hosts/titan/services/tor.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue