joinmarket: explain need for tor control socket

This commit is contained in:
Erik Arvstedt 2021-02-01 22:53:18 +01:00
parent d9c87b6a8f
commit e9c98f415c
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -149,6 +149,7 @@ in {
users.users.${cfg.user} = { users.users.${cfg.user} = {
group = cfg.group; group = cfg.group;
home = cfg.dataDir; home = cfg.dataDir;
# Allow access to the tor control socket, needed for payjoin onion service creation
extraGroups = [ "tor" ]; extraGroups = [ "tor" ];
}; };
users.groups.${cfg.group} = {}; users.groups.${cfg.group} = {};
@ -167,6 +168,7 @@ in {
services.tor = { services.tor = {
enable = true; enable = true;
client.enable = true; client.enable = true;
# Needed for payjoin onion service creation
controlSocket.enable = true; controlSocket.enable = true;
}; };