Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
Alex Stan 2024-04-09 23:25:40 +03:00
parent 875856f214
commit e8dc307125
2 changed files with 18 additions and 0 deletions

View file

@ -17,6 +17,7 @@ in {
( import ./services/cloud.nix inputs ) ( import ./services/cloud.nix inputs )
( import ./services/vaultwarden.nix inputs ) ( import ./services/vaultwarden.nix inputs )
( import ./services/matrix.nix inputs ) ( import ./services/matrix.nix inputs )
( import ./services/tor.nix inputs )
# ( import ./services/office.nix inputs ) # ( import ./services/office.nix inputs )
# ( import ./services/Sharkey inputs ) # ( import ./services/Sharkey inputs )
# ( import ./services/caddy.nix inputs ) # doesn't work # ( import ./services/caddy.nix inputs ) # doesn't work

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