Skip to content

tor

Part of the clan networking abstraction to define how to reach machines through the Tor network, if used has the lowest priority

System
Network

🚧🚧🚧 Experimental 🚧🚧🚧

Use at your own risk.

We are still refining its interfaces, instability and breakages are expected.


This module is part of Clan's networking interface.

Clan's networking module automatically manages connections across available network transports and falls back intelligently. When you run clan ssh or clan machines update, Clan attempts each configured network in priority order until a connection succeeds.

The example below configures all your nixos machines to be reachable over the Tor network. By default, the tor module has the lowest priority among networks, as it's the slowest.

  inventory.instances = {
        # Fallback: Secure connections via Tor
        tor = {
            roles.server.tags.nixos = { };
        };
};

Roles

The tor service has the following roles:

  • client
  • server This role has no configurationThis role has no configuration