config/guix/config: Add tor configuration

master
Pierre Neidhardt 2018-10-29 09:06:19 +01:00
parent d2897651e3
commit 1f15eff66c
1 changed files with 5 additions and 1 deletions

View File

@ -112,6 +112,10 @@ EndSection")
;; TODO: Can't slim pre-fill the username?
(default-user "ambrevar")))))
(define %mimimi/tor-config
"ExitNodes {se},{nl},{fr},{ee},{no},{dk},{fi}
StrictNodes 1")
(operating-system
(host-name "mimimi")
(timezone "Europe/Paris")
@ -202,7 +206,7 @@ EndSection")
(web-interface? #t)
(extensions
(list cups-filters escpr hplip))))
(tor-service)
(tor-service (plain-file "tor.conf" %mimimi/tor-config))
%mimimi/services))
;; Allow resolution of '.local' host names with mDNS.