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
No known key found for this signature in database
GPG key ID: DD11F9AD5308B3BA
6 changed files with 7 additions and 7 deletions

View file

@ -110,7 +110,7 @@ in {
users.users.${cfg.user} = {
group = cfg.group;
extraGroups = [ "bitcoinrpc" ] ++ optionals cfg.high-memory [ bitcoind.user ];
extraGroups = [ "bitcoinrpc-public" ] ++ optionals cfg.high-memory [ bitcoind.user ];
};
users.groups.${cfg.group} = {};
};