Merge pull request #542 from genebean/fix_nixdiff

Fix nixdiff on home-manager
This commit is contained in:
Gene Liverman 2025-08-20 12:11:38 -04:00 committed by GitHub
commit 0cb90a3e4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@
# home-manager switch --flake ~/repos/dots # home-manager switch --flake ~/repos/dots
programs.zsh.shellAliases = { 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}"; nixup = "home-manager switch --flake ~/repos/dots#${username}-${system}";
}; };