From 7fb85b8500ea80ca1d9505ebe5ac8c25ec874440 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 15 Dec 2023 00:37:46 +0100 Subject: [PATCH] add onion service for emergency shell access --- configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration.nix b/configuration.nix index 3626694..69006d9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -449,6 +449,12 @@ user = "asjon"; }; + # Emergency SSH access via tor + services.tor = + { enable = true; + client.enable = false; + relay.onionServices.emergency-access.map = [ 22 ]; + }; ### Program configuration programs = {