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:
parent
d61b185c3a
commit
07dc3e04ac
@ -301,5 +301,6 @@ in {
|
|||||||
home = cfg.dataDir;
|
home = cfg.dataDir;
|
||||||
};
|
};
|
||||||
users.groups.${cfg.group} = {};
|
users.groups.${cfg.group} = {};
|
||||||
|
users.groups.bitcoinrpc = {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user