dots/modules/shared/nixos/nixroutes.nix
Gene Liverman 0dea1aab28
Add pre-commit hooks for nixfmt, deadnix, and statix
Also, exclude .pre-commit-config.yaml from the SOPS differ
2026-03-14 11:23:11 -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'";
}