dots/modules/shared/nixos/nixroutes.nix
Gene Liverman f830613ded
Add pre-commit hooks for nixfmt, deadnix, and statix
Also, exclude .pre-commit-config.yaml from SOPS processing
2026-03-14 01:21:41 -04:00

7 lines
353 B
Nix

{ config, lib, ... }:
let
inherit (config.networking) hostName;
in
{
programs.zsh.shellAliases.nixroutes = "cd ~/repos/dots && echo '=== Current Routes ===' && ip route show && ip -6 route show && echo '' && echo '=== New Build Routes ===' && nix eval --json '.#nixosConfigurations.${hostName}.config.systemd.network.networks.\"10-wan\".routes'";
}