about summary refs log tree commit diff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/atuin.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/atuin.nix b/sys/atuin.nix
index d34b2958616e..85a3437e1457 100644
--- a/sys/atuin.nix
+++ b/sys/atuin.nix
@@ -293,9 +293,9 @@ in
 
   services.tor.relay.accountingMax = "50 GBytes";
   services.tor.relay.accountingStart = "day 12:00";
-  services.tor.extraConfig = ''
-    ORPort [2001:ba8:1f1:f0bc::2]:${toString config.services.tor.relay.port}
-  '';
+  services.tor.settings.ORPort = [
+    { addr = "[2001:ba8:1f1:f0bc::2]"; port = 143; }
+  ];
 
   system.stateVersion = "18.03";
 }