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:
copilot-swe-agent[bot]
2026-08-11 02:25:21 +00:00
committed by GitHub
co-authored by naturallaw777
parent 6d59441b13
commit cb84ca839f
+4 -1
View File
@@ -260,7 +260,10 @@ in {
};
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 = ''
makeBitcoinRPCPassword btcpayserver
'';