move bitcoinrpc group definition to bitcoind

services.bitcoind has a strict dependency on the 'bitcoinrpc' group
via the 'bitcoin-rpcpassword' secret.
This commit is contained in:
Erik Arvstedt 2019-11-27 14:04:16 +01:00
parent d61b185c3a
commit 07dc3e04ac
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 1 additions and 3 deletions

View File

@ -301,5 +301,6 @@ in {
home = cfg.dataDir; home = cfg.dataDir;
}; };
users.groups.${cfg.group} = {}; users.groups.${cfg.group} = {};
users.groups.bitcoinrpc = {};
}; };
} }

View File

@ -85,9 +85,6 @@ in {
version = 3; version = 3;
}; };
# Add bitcoinrpc group
users.groups.bitcoinrpc = {};
# clightning # clightning
services.clightning.bitcoin-rpcuser = config.services.bitcoind.rpcuser; services.clightning.bitcoin-rpcuser = config.services.bitcoind.rpcuser;
services.clightning.proxy = config.services.tor.client.socksListenAddress; services.clightning.proxy = config.services.tor.client.socksListenAddress;