joinmarket: explain need for tor control socket
This commit is contained in:
parent
d9c87b6a8f
commit
e9c98f415c
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue