summary refs log tree commit diff
path: root/nixos/modules/services/security/tor.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-30 14:18:54 +0200
committerpennae <github@quasiparticle.net>2022-08-31 17:27:38 +0200
commit1d41cff3dc4c8f37bb5841f51fcbff705e169178 (patch)
tree333442286eac74633ee79693b341575d448cb10a /nixos/modules/services/security/tor.nix
parente04a09082e33d444c245e1d5859b37ace25f54a9 (diff)
downloadnixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.gz
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.bz2
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.lz
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.xz
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.tar.zst
nixpkgs-1d41cff3dc4c8f37bb5841f51fcbff705e169178.zip
nixos/*: convert straggler options to MD
Diffstat (limited to 'nixos/modules/services/security/tor.nix')
-rw-r--r--nixos/modules/services/security/tor.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/security/tor.nix b/nixos/modules/services/security/tor.nix
index de82e32f496..730802d92cf 100644
--- a/nixos/modules/services/security/tor.nix
+++ b/nixos/modules/services/security/tor.nix
@@ -288,17 +288,17 @@ in
       };
 
       relay = {
-        enable = mkEnableOption "tor relaying" // {
-          description = ''
+        enable = mkEnableOption (lib.mdDoc "tor relaying") // {
+          description = lib.mdDoc ''
             Whether to enable relaying of Tor traffic for others.
 
-            See <link xlink:href="https://www.torproject.org/docs/tor-doc-relay"/>
+            See <https://www.torproject.org/docs/tor-doc-relay>
             for details.
 
             Setting this to true requires setting
-            <option>services.tor.relay.role</option>
+            {option}`services.tor.relay.role`
             and
-            <option>services.tor.settings.ORPort</option>
+            {option}`services.tor.settings.ORPort`
             options.
           '';
         };