blob: ad69f529c55cc8ee7e6d479a6cffef7893737ade (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ pkgs, ... }:
{
networking.proxy.default = "https://127.0.0.1:8118";
services = {
tor = {
enable = true;
# openFirewall = true;
torsocks.enable = true;
# torsocks.allowInbound = true;
client.enable = true;
# client = {
# enable = true;
# dns.enable = true;
# };
# settings.DNSPort = [{
# addr = "127.0.0.1";
# port = 53;
# }];
# torsocks.enable = true;
};
privoxy = {
enable = true;
enableTor = true;
};
};
environment.systemPackages = with pkgs; [
tor
torsocks
tor-browser
torctl
vanguards
tractor
onioncircuits
oniux
];
# networking.nameservers = [ "127.0.0.1" ];
}
|