20 lines
297 B
Nix
20 lines
297 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.tor = {
|
|
enable = true;
|
|
client = {
|
|
socksListenAddresses = [ { addr = "127.0.0.1"; port = 9050; } ];
|
|
};
|
|
};
|
|
|
|
services.privoxy = {
|
|
enable = true;
|
|
enableTor = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
torsocks
|
|
];
|
|
}
|