MyNixOS website logo
option

services.tor.relay.onionServices.<name>.secretKey

Secret key of the onion service. If null, Tor reuses any preexisting secret key (in path) or generates a new one. The associated public key and hostname are deterministically regenerated from this file if they do not exist.

Declarations
Type
null or path
Default
null
Example
"/run/keys/tor/onion/expyuzz4wqqyqhjn/hs_ed25519_secret_key"