From 5f308a6b1421c1ef9aab9ef88133be611e8b91e8 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Wed, 15 Apr 2026 13:27:50 -0400 Subject: mojo: Document onActivation.cleanup Sometimes seems to work with uninstall, but generally doesn't. --- hostnix/mojo/modules/system.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hostnix/mojo/modules/system.nix b/hostnix/mojo/modules/system.nix index 9e18a85..2109311 100644 --- a/hostnix/mojo/modules/system.nix +++ b/hostnix/mojo/modules/system.nix @@ -12,6 +12,9 @@ # Enable after nix-darwin 25.11 # enableBashIntegration = true; caskArgs.require_sha = true; + # Error: Refusing to uninstall /opt/homebrew/Cellar/brotli/1.2.0, [...snip...] + # because they are required by sunshine, which is currently installed. + # onActivation.cleanup = "uninstall"; }; system.primaryUser = "joe"; -- cgit v1.3.1