Commit 8637f65

HPCesia <me@hpcesia.com>
2025-12-18 14:22:51
feat: use binary version of thunderbird
I can't stand having to compile Thunderbird for over an hour every time I update nixpkgs.
1 parent 92bdbf7
Changed files (2)
modules
desktop
modules/desktop/apps/thunderbird/bird-tray.nix
@@ -9,7 +9,7 @@
       accountId = builtins.hashString "sha256" accountName;
       thunderbirdProfilesPath = ".thunderbird";
     in "${config.home.homeDirectory}/${thunderbirdProfilesPath}/${profileName}/ImapMail/${accountId}";
-    thunderbird-x = pkgs.thunderbird.overrideAttrs (oldAttrs: {
+    thunderbird-x = pkgs.thunderbird-bin.overrideAttrs (oldAttrs: {
       makeWrapperArgs = oldAttrs.makeWrapperArgs ++ ["--set" "MOZ_ENABLE_WAYLAND" "0"];
     });
 
modules/desktop/apps/thunderbird/default.nix
@@ -1,13 +1,14 @@
-{
+{lib, ...}: {
   flake.modules.nixos.desktop = {pkgs, ...}: {
     environment.plasma6.excludePackages = with pkgs.kdePackages; [
       kdepim-runtime # No needed if using Thunderbird.
     ];
   };
 
-  flake.modules.homeManager.desktop = _: {
+  flake.modules.homeManager.desktop = {pkgs, ...}: {
     programs.thunderbird = {
       enable = true;
+      package = lib.mkDefault pkgs.thunderbird-bin;
       profiles.Default = {
         isDefault = true;
         settings = {