Working, more modular approach to btcpay server. Next upgrade will be setting up the flake configuration for multiple hosts in order to separate the bitcoind and payserver applications

This commit is contained in:
jeirmeister 2025-08-15 09:23:31 -07:00
parent 790799915f
commit c8570c23ce
3 changed files with 90 additions and 14 deletions

View file

@ -1,10 +1,13 @@
REMOTE_HOST := "root@10.1.1.163"
rebuild:
nixos-rebuild switch --flake .#btc-pay-server --extra-experimental-features 'nix-command flakes'
build:
nix build .#nixosConfigurations.btcpay.config.system.build.toplevel
nix build .#nixosConfigurations.btc-pay-server.config.system.build.toplevel
deploy:
nixos-rebuild switch --flake .#btcpay --target-host {{REMOTE_HOST}} --option experimental-features "nix-command flakes"
nixos-rebuild switch --flake .#btc-pay-server --target-host {{REMOTE_HOST}} --option experimental-features "nix-command flakes"
status:
ssh {{REMOTE_HOST}} "systemctl status bitcoind btcpayserver"