diff --git a/platforms/home-manager/modules/nmasur/presets/programs/homebrew.nix b/platforms/home-manager/modules/nmasur/presets/programs/homebrew.nix index aedf1da1..695fc64e 100644 --- a/platforms/home-manager/modules/nmasur/presets/programs/homebrew.nix +++ b/platforms/home-manager/modules/nmasur/presets/programs/homebrew.nix @@ -27,6 +27,7 @@ in cask "notunes" # Don't launch Apple Music with the play button cask "topnotch" # Darkens the menu bar to complete black cask "ghostty" # Terminal application (not buildable on Nix on macOS) + cask "discord" # nixpkgs bundle breaks its notarization seal on macOS 26+ # Mac App Store apps (requires 'mas' CLI, optional) # mas "Tailscale", id: 1475387142 diff --git a/platforms/home-manager/modules/nmasur/presets/services/dock.nix b/platforms/home-manager/modules/nmasur/presets/services/dock.nix index 98c4e381..61c3a12b 100644 --- a/platforms/home-manager/modules/nmasur/presets/services/dock.nix +++ b/platforms/home-manager/modules/nmasur/presets/services/dock.nix @@ -56,7 +56,10 @@ in "/System/Applications/Mail.app" "/Applications/zoom.us.app" "${config.programs.ghostty.package}/Applications/Ghostty.app" - "${pkgs.discord}/Applications/Discord.app" + # Discord comes from Homebrew on macOS: the nixpkgs bundle is + # modified in place, breaking its notarization seal, so macOS 26+ + # refuses to launch it ("damaged"). See presets/programs/homebrew.nix. + "/Applications/Discord.app" "${pkgs.obsidian}/Applications/Obsidian.app" "${pkgs.thunderbird}/Applications/Thunderbird.app" ]; diff --git a/platforms/nix-darwin/modules/nmasur/presets/services/dock.nix b/platforms/nix-darwin/modules/nmasur/presets/services/dock.nix index f3e9f9b3..2c7378ce 100644 --- a/platforms/nix-darwin/modules/nmasur/presets/services/dock.nix +++ b/platforms/nix-darwin/modules/nmasur/presets/services/dock.nix @@ -50,7 +50,10 @@ in "/System/Applications/Mail.app" "/Applications/zoom.us.app" "/Applications/Ghostty.app" - "${pkgs.discord}/Applications/Discord.app" + # Discord comes from Homebrew on macOS: the nixpkgs bundle is modified + # in place, breaking its notarization seal, so macOS 26+ refuses to + # launch it ("damaged"). + "/Applications/Discord.app" "${pkgs.obsidian}/Applications/Obsidian.app" "${pkgs.thunderbird}/Applications/Thunderbird.app" ];