From dc83a880ab439c8bf819a80cc35e5b046c15fc02 Mon Sep 17 00:00:00 2001 From: Xerydian Date: Sat, 14 Mar 2026 12:20:49 +0100 Subject: [PATCH] nixos/zeronet: Update TOR settings --- nixos/modules/services/networking/zeronet.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/networking/zeronet.nix b/nixos/modules/services/networking/zeronet.nix index 9dc737bd7d0d..920885bfd4cc 100644 --- a/nixos/modules/services/networking/zeronet.nix +++ b/nixos/modules/services/networking/zeronet.nix @@ -96,13 +96,13 @@ with lib; config = mkIf cfg.enable { services.tor = mkIf cfg.tor { enable = true; - controlPort = 9051; - extraConfig = '' - CacheDirectoryGroupReadable 1 - CookieAuthentication 1 - CookieAuthFileGroupReadable 1 - ''; + settings = { + ControlPort = 9051; + CacheDirectoryGroupReadable = true; + CookieAuthentication = true; + CookieAuthFileGroupReadable = true; + }; }; systemd.services.zeronet = {