current
 1{lib, ...}: {
 2  flake.modules.nixos.desktop = {pkgs, ...}: {
 3    environment.plasma6.excludePackages = with pkgs.kdePackages; [
 4      kdepim-runtime # No needed if using Thunderbird.
 5    ];
 6  };
 7
 8  flake.modules.homeManager.desktop = {pkgs, ...}: {
 9    programs.thunderbird = {
10      enable = true;
11      package = lib.mkDefault pkgs.thunderbird-bin;
12      profiles.Default = {
13        isDefault = true;
14        settings = {
15          "extensions.autoDisableScopes" = 0;
16          "mail.spellcheck.inline" = false;
17        };
18      };
19    };
20  };
21}