bitcoind: rename group bitcoinrpc -> bitcoinrpc-public

This makes it clear that services with this group can only use
public RPC calls.
This commit is contained in:
nixbitcoin
2021-02-18 10:42:21 +00:00
parent 19e401b028
commit 4e9059dc07
6 changed files with 7 additions and 7 deletions

View File

@@ -275,7 +275,7 @@ in {
users.users.${cfg.user} = {
group = cfg.group;
extraGroups = [ "bitcoinrpc" ];
extraGroups = [ "bitcoinrpc-public" ];
home = cfg.dataDir; # lnd creates .lnd dir in HOME
};
users.groups.${cfg.group} = {};