summary refs log tree commit diff
path: root/nixos/tests/tor.nix
diff options
context:
space:
mode:
authorJulien Moutinho <julm+nixpkgs@sourcephile.fr>2020-09-11 07:46:59 +0200
committerJulien Moutinho <julm+nixpkgs@sourcephile.fr>2021-01-04 01:02:26 +0100
commit0ccdd6f2b043e5123ffd1f76cd2187c39ce19b94 (patch)
tree139e7cdab4edd8a3e849dcdb3c508439d1f7b545 /nixos/tests/tor.nix
parent6b342809b1b66dce758364f763b64c6a1a9e6211 (diff)
downloadnixpkgs-0ccdd6f2b043e5123ffd1f76cd2187c39ce19b94.tar
nixpkgs-0ccdd6f2b043e5123ffd1f76cd2187c39ce19b94.tar.gz
nixpkgs-0ccdd6f2b043e5123ffd1f76cd2187c39ce19b94.tar.bz2
nixpkgs-0ccdd6f2b043e5123ffd1f76cd2187c39ce19b94.tar.lz
nixpkgs-0ccdd6f2b043e5123ffd1f76cd2187c39ce19b94.tar.xz
nixpkgs-0ccdd6f2b043e5123ffd1f76cd2187c39ce19b94.tar.zst
nixpkgs-0ccdd6f2b043e5123ffd1f76cd2187c39ce19b94.zip
nixos/tor: improve type-checking and hardening
Fixes #77395.
Fixes #82790.
Diffstat (limited to 'nixos/tests/tor.nix')
-rw-r--r--nixos/tests/tor.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/tor.nix b/nixos/tests/tor.nix
index ad07231557c..c061f59226c 100644
--- a/nixos/tests/tor.nix
+++ b/nixos/tests/tor.nix
@@ -17,7 +17,7 @@ rec {
       environment.systemPackages = with pkgs; [ netcat ];
       services.tor.enable = true;
       services.tor.client.enable = true;
-      services.tor.controlPort = 9051;
+      services.tor.settings.ControlPort = 9051;
     };
 
   testScript = ''