From d629f4b3545a138d46b083cdb7d4d3c7f5ecc2ed Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Fri, 7 Feb 2025 11:55:14 +0100 Subject: [PATCH] Justfile: convenience commands to working with the router0-dmz0 locally --- Justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Justfile b/Justfile index 095f050..d48ce8c 100755 --- a/Justfile +++ b/Justfile @@ -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