Justfile: convenience commands to working with the router0-dmz0 locally

This commit is contained in:
steveej 2025-02-07 11:55:14 +01:00
parent 143b0a10e3
commit d629f4b354

View file

@ -309,3 +309,9 @@ cachix-use name:
update-sops-keys:
for file in $(egrep -lr '"?sops"?:') secrets; do sops updatekeys -y $file; done
deploy-router0-dmz0:
NIX_SSHOPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o CheckHostIP=no" nixos-rebuild switch --impure --flake .\#router0-dmz0 --target-host root@192.168.20.1
ttyusb:
screen -fa /dev/ttyUSB0 115200