Tor service is stuck at 0%

I’ve set both services.tor.client.enable = true; and services.tor.enable = true;, but the Tor service refuses to bootstrap properly and provides no immediately useful journal lines:

Read configuration file "/nix/store/hs62q379igfzgyvyxhvlhl39mcrymjk4-torrc".
Opening Socks listener on 127.0.0.1:9050
Opened Socks listener on 127.0.0.1:9050
Opening Socks listener on 127.0.0.1:9063
Opened Socks listener on 127.0.0.1:9063
Parsing GEOIP IPv4 file /nix/store/8z7asqbzhyky7f15kghrgwrvsfr86ph4-tor-0.4.1.6-geoip/share/tor/geoip.
Parsing GEOIP IPv6 file /nix/store/8z7asqbzhyky7f15kghrgwrvsfr86ph4-tor-0.4.1.6-geoip/share/tor/geoip6.
Bootstrapped 0% (starting): Starting
Starting with guard context "default"

I can’t find any nixpkgs issues related to this, but it used to work out of the box in Arch Linux. What’s missing in my setup? My Internet connection otherwise works fine.

  • system: "x86_64-linux"
  • host os: Linux 4.19.74, NixOS, 20.03pre193781.d484f2b7fc0 (Markhor)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3
  • channels(root): "nixos-20.03pre193781.d484f2b7fc0"
  • channels(username): "nixpkgs-20.03pre193309.c4196cca9ac"
  • nixpkgs: /home/username/.nix-defexpr/channels/nixpkgs

Looks like I needed to reboot after rebuilding.