mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
- Rename modules/hosts/common to modules/shared - Split shared into home/general, home/linux, and nixos subdirectories - Update all import paths in lib/ and modules/hosts/ - Fix hardcoded /Users/ path to use config.home.homeDirectory - Update .sops.yaml path for secrets
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'";
|
|
}
|