mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
add torsocks
This commit is contained in:
parent
2c4d4b1004
commit
c314012d5a
@ -56,13 +56,21 @@
|
||||
# SuperSlicer is a PrusaSlicer fork (which is a slic3r fork) (previously Slic3r++).
|
||||
#super-slicer
|
||||
|
||||
#
|
||||
# Internet Censorship Circumvention
|
||||
#
|
||||
|
||||
#unstable.riseup-vpn # TODO wait until update arraived in unstable
|
||||
#./tor-browser.nix
|
||||
#./tor.nix
|
||||
|
||||
#
|
||||
# OFFICE
|
||||
#
|
||||
|
||||
# Graphical apps
|
||||
|
||||
#unstable.riseup-vpn # TODO wait until update arraived in unstable
|
||||
|
||||
junction # Choose the application to open a specific file type or URI.
|
||||
epiphany # Web browser
|
||||
unstable.servo # Web browser
|
||||
|
24
modules/tor.nix
Normal file
24
modules/tor.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# https://wiki.nixos.org/w/index.php?title=Tor
|
||||
|
||||
# `torsocks` is a wrapper to safely torify applications.
|
||||
# `torsocks` should be used instead of the older `torify`.
|
||||
# Example: torsocks ssh yodaNas
|
||||
|
||||
services = {
|
||||
tor = {
|
||||
enable = true;
|
||||
# Disable GeoIP to prevent the Tor client from estimating the locations of Tor nodes it connects to.
|
||||
#enableGeoIP = false;
|
||||
# Enable Torsocks for transparent proxying of applications through Tor.
|
||||
torsocks.enable = true;
|
||||
client = {
|
||||
# Enable the Tor client.
|
||||
enable = true;
|
||||
# Enable DNS resolver.
|
||||
dns.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user