fix: register bitcoin-HMAC-btcpayserver as managed secret owned by bitcoind user
Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
co-authored by
naturallaw777
parent
6d59441b13
commit
cb84ca839f
@@ -260,7 +260,10 @@ in {
|
|||||||
};
|
};
|
||||||
users.groups.${cfg.btcpayserver.group} = {};
|
users.groups.${cfg.btcpayserver.group} = {};
|
||||||
|
|
||||||
nix-bitcoin.secrets.bitcoin-rpcpassword-btcpayserver.user = cfg.btcpayserver.user;
|
nix-bitcoin.secrets = {
|
||||||
|
bitcoin-rpcpassword-btcpayserver.user = cfg.btcpayserver.user;
|
||||||
|
bitcoin-HMAC-btcpayserver.user = cfg.bitcoind.user;
|
||||||
|
};
|
||||||
nix-bitcoin.generateSecretsCmds.btcpayserver = ''
|
nix-bitcoin.generateSecretsCmds.btcpayserver = ''
|
||||||
makeBitcoinRPCPassword btcpayserver
|
makeBitcoinRPCPassword btcpayserver
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user