From 07dc3e04ac8a56b5200de64dab34ed8aac39e45e Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Wed, 27 Nov 2019 14:04:16 +0100 Subject: [PATCH] move bitcoinrpc group definition to bitcoind services.bitcoind has a strict dependency on the 'bitcoinrpc' group via the 'bitcoin-rpcpassword' secret. --- modules/bitcoind.nix | 1 + modules/nix-bitcoin.nix | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index 3903290..31ad358 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -301,5 +301,6 @@ in { home = cfg.dataDir; }; users.groups.${cfg.group} = {}; + users.groups.bitcoinrpc = {}; }; } diff --git a/modules/nix-bitcoin.nix b/modules/nix-bitcoin.nix index 541448f..351bb72 100644 --- a/modules/nix-bitcoin.nix +++ b/modules/nix-bitcoin.nix @@ -85,9 +85,6 @@ in { version = 3; }; - # Add bitcoinrpc group - users.groups.bitcoinrpc = {}; - # clightning services.clightning.bitcoin-rpcuser = config.services.bitcoind.rpcuser; services.clightning.proxy = config.services.tor.client.socksListenAddress;