btc-pay-server/justfile

25 lines
609 B
Makefile

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.btc-pay-server.config.system.build.toplevel
deploy:
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"
encrypt-secrets:
sops -e -i secrets.yaml
edit-secrets:
sops secrets.yaml
shell:
nix develop
psql:
psql -h localhost -U nbxplorer -d nbxplorer