Fix nixdiff on home-manager

This commit is contained in:
Gene Liverman 2025-08-20 12:09:35 -04:00
parent 4adfb8b313
commit ac1a3ad3c6
No known key found for this signature in database

View file

@ -9,7 +9,7 @@
# home-manager switch --flake ~/repos/dots
programs.zsh.shellAliases = {
nixdiff = "cd ~/repos/dots && home-manager build --flake .#${username}-${system} && nvd diff /run/current-system result";
nixdiff = "cd ~/repos/dots && home-manager build --flake .#${username}-${system} && nvd diff ${config.home.homeDirectory}/.local/state/nix/profiles/home-manager result";
nixup = "home-manager switch --flake ~/repos/dots#${username}-${system}";
};