mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
7 lines
358 B
Nix
7 lines
358 B
Nix
{ config, lib, ... }:
|
|
let
|
|
hostName = 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'";
|
|
}
|