Merge pull request #412 from naturallaw777/copilot/fix-btcpayserver-hmac-authentication

fix(btcpayserver): register bitcoin-HMAC-btcpayserver as managed nix-bitcoin secret
This commit is contained in:
Sovran Systems
2026-08-10 21:27:10 -05:00
committed by GitHub
+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
'';