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
1 changed files with 2 additions and 0 deletions

View File

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