diff --git a/templates/clan/default/clan.nix b/templates/clan/default/clan.nix index 9ac930a7e..35b189060 100644 --- a/templates/clan/default/clan.nix +++ b/templates/clan/default/clan.nix @@ -37,6 +37,13 @@ # tags.all means 'all machines' will joined roles.peer.tags.all = { }; }; + + # Docs: https://docs.clan.lol/reference/clanServices/tor/ + # Tor network provides secure, anonymous connections to your machines + # All machines will be accessible via Tor as a fallback connection method + tor = { + roles.server.tags.nixos = { }; + }; }; # Additional NixOS configuration can be added here. diff --git a/templates/clan/flake-parts/clan.nix b/templates/clan/flake-parts/clan.nix index 9ac930a7e..35b189060 100644 --- a/templates/clan/flake-parts/clan.nix +++ b/templates/clan/flake-parts/clan.nix @@ -37,6 +37,13 @@ # tags.all means 'all machines' will joined roles.peer.tags.all = { }; }; + + # Docs: https://docs.clan.lol/reference/clanServices/tor/ + # Tor network provides secure, anonymous connections to your machines + # All machines will be accessible via Tor as a fallback connection method + tor = { + roles.server.tags.nixos = { }; + }; }; # Additional NixOS configuration can be added here.