Move back to thunderbird

This commit is contained in:
Natsu Kagami 2024-04-22 11:57:42 +02:00
parent 9d924cc9a9
commit e9e5a00308
Signed by: nki
GPG key ID: 55A032EB38B49ADB
3 changed files with 27 additions and 7 deletions

View file

@ -105,13 +105,33 @@ in
xdg.mimeApps.enable = true; xdg.mimeApps.enable = true;
xdg.mimeApps.associations.added = { xdg.mimeApps.associations.added = {
"x-scheme-handler/mailto" = [ "org.gnome.Evolution.desktop" ]; "x-scheme-handler/mailto" = [ "thunderbird.desktop" "org.gnome.Evolution.desktop" ];
"application/pdf" = [ "org.gnome.Evince.desktop" ]; "application/pdf" = [ "org.gnome.Evince.desktop" ];
"text/plain" = [ "kakoune.desktop" ]; "text/plain" = [ "kakoune.desktop" ];
# Other Thunderbird stuff
"x-scheme-handler/mid" = [ "thunderbird.desktop" ];
"x-scheme-handler/news" = [ "thunderbird.desktop" ];
"x-scheme-handler/snews" = [ "thunderbird.desktop" ];
"x-scheme-handler/nntp" = [ "thunderbird.desktop" ];
"x-scheme-handler/feed" = [ "thunderbird.desktop" ];
"application/rss+xml" = [ "thunderbird.desktop" ];
"application/x-extension-rss" = [ "thunderbird.desktop" ];
}; };
xdg.mimeApps.defaultApplications = { xdg.mimeApps.defaultApplications = {
# Email # Email
"x-scheme-handler/mailto" = [ "org.gnome.Evolution.desktop" ]; "x-scheme-handler/mailto" = [ "thunderbird.desktop" "org.gnome.Evolution.desktop" ];
"x-scheme-handler/webcal" = [ "thunderbird.desktop" ];
"x-scheme-handler/webcals" = [ "thunderbird.desktop" ];
# Other Thunderbird stuff
"x-scheme-handler/mid" = [ "thunderbird.desktop" ];
"x-scheme-handler/news" = [ "thunderbird.desktop" ];
"x-scheme-handler/snews" = [ "thunderbird.desktop" ];
"x-scheme-handler/nntp" = [ "thunderbird.desktop" ];
"x-scheme-handler/feed" = [ "thunderbird.desktop" ];
"application/rss+xml" = [ "thunderbird.desktop" ];
"application/x-extension-rss" = [ "thunderbird.desktop" ];
# Default web browser stuff # Default web browser stuff
"text/html" = [ cfg.defaults.webBrowser ]; "text/html" = [ cfg.defaults.webBrowser ];

View file

@ -157,7 +157,7 @@ in
{ command = "systemctl --user restart waybar"; always = true; } { command = "systemctl --user restart waybar"; always = true; }
# Startup programs # Startup programs
{ command = "${cfg.browser}"; } { command = "${cfg.browser}"; }
{ command = "evolution"; } # Rely on system package with plugins { command = "thunderbird"; }
] ++ (if cfg.discord != null then [ ] ++ (if cfg.discord != null then [
{ command = "${cfg.discord}"; } { command = "${cfg.discord}"; }
] ++ lib.lists.optional ] ++ lib.lists.optional

View file

@ -31,10 +31,10 @@ let
environment.systemPackages = with pkgs.gnome; [ pkgs.glib gnome-control-center ]; environment.systemPackages = with pkgs.gnome; [ pkgs.glib gnome-control-center ];
services.accounts-daemon.enable = true; services.accounts-daemon.enable = true;
services.gnome.gnome-online-accounts.enable = true; services.gnome.gnome-online-accounts.enable = true;
programs.evolution.enable = true; # programs.evolution.enable = true;
programs.evolution.plugins = with pkgs; [ evolution-ews ]; # programs.evolution.plugins = with pkgs; [ evolution-ews ];
services.gnome.evolution-data-server.enable = true; # services.gnome.evolution-data-server.enable = true;
services.gnome.evolution-data-server.plugins = with pkgs; [ evolution-ews ]; # services.gnome.evolution-data-server.plugins = with pkgs; [ evolution-ews ];
}; };
wlr = { ... }: mkIf config.common.linux.enable { wlr = { ... }: mkIf config.common.linux.enable {