summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-21 17:24:57 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-21 17:28:35 +0200
commitb290d05129b49377ae15ec1b8083ac2a6bb5f690 (patch)
tree65f294f671d45a684440c771142d0148aa77561c
parentcb5b6929891f0732a7f7b6a9d2d4b5713cabf5f7 (diff)
Configure Tor
* torrc: Create Tor configuration file ... * system-configuration.scm: ... and use it in the system configuration.
-rw-r--r--system-configuration.scm5
-rw-r--r--torrc3
2 files changed, 4 insertions, 4 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index 71131c7..70b0cce 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -49,10 +49,7 @@
( service tor-service-type
( tor-configuration
( config-file
- ( cons*
- ( plain-file "torrc1" "SOCKSPort 9050" )
- ( plain-file "torrc2" "DNSPort 5353" )
- ( plain-file "torrc3" "TransPort 9040" ) ) ) ) )
+ ( local-file "torrc" ) ) ) )
( service cups-service-type )
( set-xorg-configuration
( xorg-configuration
diff --git a/torrc b/torrc
new file mode 100644
index 0000000..5e49d77
--- /dev/null
+++ b/torrc
@@ -0,0 +1,3 @@
+SOCKSPort 9050
+DNSPort 5353
+TransPort 9040