add onion service for emergency shell access

This commit is contained in:
Michele Guerini Rocco 2023-12-15 00:37:46 +01:00
parent 92c82ca8c6
commit 7fb85b8500
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -449,6 +449,12 @@
user = "asjon"; user = "asjon";
}; };
# Emergency SSH access via tor
services.tor =
{ enable = true;
client.enable = false;
relay.onionServices.emergency-access.map = [ 22 ];
};
### Program configuration ### Program configuration
programs = { programs = {