From 3caf314a81229762b352ebbcc98ad83e3961cc97 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Mon, 9 Mar 2026 23:32:10 -0400 Subject: [PATCH] nixroutes --- modules/hosts/common/linux/home.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hosts/common/linux/home.nix b/modules/hosts/common/linux/home.nix index 04428b9..9865123 100644 --- a/modules/hosts/common/linux/home.nix +++ b/modules/hosts/common/linux/home.nix @@ -8,6 +8,7 @@ zsh.shellAliases = { nixboot = "sudo nixos-rebuild boot --flake ~/repos/dots && echo 'Time to reboot!'"; nixdiff = "cd ~/repos/dots && nixos-rebuild build --flake . && nvd diff /run/current-system result"; + nixroutes = "cd ~/repos/dots && echo '=== Current Routes ===' && ip route show && ip -6 route show && echo '' && echo '=== New Build Routes ===' && nix eval --apply 'routes: builtins.concatStringsSep \"\\n\" (map (r: r.Destination + \" via \" + r.Gateway) routes)' '.#nixosConfigurations.$(hostname).config.systemd.network.networks.\"10-wan\".routes'"; nixup = "sudo nixos-rebuild switch --flake ~/repos/dots"; uwgconnect = "nmcli dev wifi connect SecureWest password"; uwgforget = "nmcli connection delete SecureWest";