joinmarket: fix allowRunAsUsers setting

This option requires user names instead of groups.
This commit is contained in:
Erik Arvstedt 2021-08-15 11:28:38 +02:00
parent fb36f2abe5
commit 1ef8cbb384
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -282,7 +282,7 @@ in {
users.groups.${cfg.group} = {}; users.groups.${cfg.group} = {};
nix-bitcoin.operator = { nix-bitcoin.operator = {
groups = [ cfg.group ]; groups = [ cfg.group ];
allowRunAsUsers = [ cfg.group ]; allowRunAsUsers = [ cfg.user ];
}; };
nix-bitcoin.secrets.jm-wallet-password.user = cfg.user; nix-bitcoin.secrets.jm-wallet-password.user = cfg.user;