diff --git a/modules/profiles/system/darwin/brew.nix b/modules/profiles/system/darwin/brew.nix index a10089f..72e71d2 100644 --- a/modules/profiles/system/darwin/brew.nix +++ b/modules/profiles/system/darwin/brew.nix @@ -4,7 +4,13 @@ homebrew = { enable = true; - onActivation.cleanup = lib.mkDefault "zap"; + onActivation = { + cleanup = lib.mkDefault "zap"; + + # TODO: Remove when this issue is fixed + # https://github.com/nix-darwin/nix-darwin/pull/1789 + extraFlags = [ "--force-cleanup" ]; + }; brews = [ "pinentry-mac" ];