summaryrefslogtreecommitdiff
path: root/system-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-21 10:44:00 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-21 10:44:00 +0200
commitcb5b6929891f0732a7f7b6a9d2d4b5713cabf5f7 (patch)
tree51a08c2a3d24ebc743bef074016cda1a7d696ded /system-configuration.scm
parent1830bdf8a813a467ed377191bf67086a201c5dda (diff)
Save Work-In-Progress
* system-configuration.scm (tor-configuration): Writing the configuration file is unexpectedly difficult.
Diffstat (limited to 'system-configuration.scm')
-rw-r--r--system-configuration.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index 0f07cb3..71131c7 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -46,7 +46,13 @@
( list
( service gnome-desktop-service-type )
( service openssh-service-type )
- ( service tor-service-type )
+ ( service tor-service-type
+ ( tor-configuration
+ ( config-file
+ ( cons*
+ ( plain-file "torrc1" "SOCKSPort 9050" )
+ ( plain-file "torrc2" "DNSPort 5353" )
+ ( plain-file "torrc3" "TransPort 9040" ) ) ) ) )
( service cups-service-type )
( set-xorg-configuration
( xorg-configuration