From e1f04a68775b4d53a894888c29023d82b1e21fb7 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Tue, 17 Dec 2024 10:55:06 -0500 Subject: [PATCH] Enhance nixdiff alias on Mac to represent reality On macOS, nix-darwin and nix-homebrew are used. As a result, more than just `nvd` is needed. --- modules/hosts/darwin/home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hosts/darwin/home.nix b/modules/hosts/darwin/home.nix index e68d33a..fecd38b 100644 --- a/modules/hosts/darwin/home.nix +++ b/modules/hosts/darwin/home.nix @@ -17,7 +17,7 @@ oh-my-zsh.plugins = [ "macos" ]; shellAliases = { currentwifi = "networksetup -getairportnetwork en0 |cut -d ':' -f2- | cut -d ' ' -f2-"; - nixdiff = "cd ~/repos/dots && darwin-rebuild build --flake . && nvd diff /run/current-system result"; + nixdiff = "brew outdated && brew outdated --cask && mas outdated && cd ~/repos/dots && darwin-rebuild build --flake . && nvd diff /run/current-system result"; nixup = "darwin-rebuild switch --flake ~/repos/dots"; uwgconnect = "networksetup -setairportnetwork en0 SecureWest"; uwgforget = "networksetup -removepreferredwirelessnetwork en0 SecureWest";