about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-18 14:40:26 +0900
committersefidel <contact@sefidel.net>2022-02-20 11:52:16 +0900
commit4f341a49d08c80676e69ceb8a13942cfdc692778 (patch)
tree37e2d48b3fb0eef0615affdcac7664f0ce175ae0 /nixos
parentf3329801631c29c71a9f46aaf382c67ea7651843 (diff)
downloadnixrc-4f341a49d08c80676e69ceb8a13942cfdc692778.tar.gz
nixrc-4f341a49d08c80676e69ceb8a13942cfdc692778.zip
feat(nixos/alpha): enable tor socks proxy
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 9f770b4..4ffacd1 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -185,6 +185,11 @@
     };
   };
 
+  services.tor.enable = true;
+  services.tor.client.enable = true;
+  # Access libera.chat via tor socks proxy
+  services.tor.settings.MapAddress = "palladium.libera.chat libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion";
+
   programs = {
     sway.enable = true;
     sway.extraPackages = lib.mkForce [ ];