From 139cd5e26bef95b810fb897b5f2c79036f9c7adf Mon Sep 17 00:00:00 2001 From: 4DBug Date: Wed, 19 Mar 2025 20:10:42 -0500 Subject: [PATCH] push --- main.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.nix b/main.nix index d1d1de6..01ddb3d 100644 --- a/main.nix +++ b/main.nix @@ -56,7 +56,10 @@ programs = { bash.shellAliases = { rebuild = "sudo nixos-rebuild switch --impure"; + pi = "ssh -t $(avahi-resolve-host-name -4 pi.home | awk '{print $2}')"; + pid = "pi \"cd $(pwd) && bash\""; + pico = "ssh pico.sh"; # tuns name port tuns = "bash -c '\''if [ \"$#\" -ne 2 ]; then echo \"Usage: tun name port\"; exit 1; fi;