diff --git a/flake.nix b/flake.nix index 025f6ff..34d3412 100644 --- a/flake.nix +++ b/flake.nix @@ -165,7 +165,7 @@ }; deploy.nodes.nutcracker = { - hostname = "stashy-2.lion-zebra.ts.net"; + hostname = "nutcracker.lion-zebra.ts.net"; profiles.system = { user = "root"; path = inputs.deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.nutcracker; diff --git a/machines/nutcracker/home.nix b/machines/nutcracker/home.nix index de43bb1..ae0fdcc 100644 --- a/machines/nutcracker/home.nix +++ b/machines/nutcracker/home.nix @@ -32,5 +32,22 @@ wifite2 ]; }; + programs.zsh.shellAliases = { + wifite-preconfig = '' + wifite \ + -i $(ls /sys/class/net | grep -vE '^(lo|tailscale0|wlan0)$' | head -n 1) \ + -E $(iwgetid -r) \ + --wpa \ + --no-wps \ + --clients-only \ + --skip-crack \ + --no-pmkid \ + --showb \ + --allbands \ + --wpat 99999 \ + --wpadt 90 \ + --num-deauths 10 + ''; + }; }; }