From 286f296de417cb6a29cf46c97a114de07d3fc5a4 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Tue, 6 Jun 2023 21:27:19 +0200 Subject: [PATCH] Swap evolution for thunderbird --- home/modules/programs/my-sway/default.nix | 4 ++-- modules/common/linux/default.nix | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/home/modules/programs/my-sway/default.nix b/home/modules/programs/my-sway/default.nix index ad797f4..4c6b406 100644 --- a/home/modules/programs/my-sway/default.nix +++ b/home/modules/programs/my-sway/default.nix @@ -144,7 +144,7 @@ in { command = "systemctl --user restart waybar"; always = true; } # Startup programs { command = "${cfg.browser}"; } - { command = "evolution"; } # Rely on system package with plugins + { command = "thunderbird"; } # Rely on system package with plugins { command = "env PYTHONPATH=$(python -m site --user-site) ${pkgs.ulauncher}/bin/ulauncher --hide-window --no-window-shadow"; } ] ++ (if cfg.discord != null then [ { command = "${cfg.discord}"; } @@ -277,7 +277,7 @@ in { class = "^((d|D)iscord|((A|a)rm(c|C)ord))$"; } ]; "📧 Email" = [ - { app_id = "evolution"; } + { app_id = "thunderbird"; } ]; }; # Commands diff --git a/modules/common/linux/default.nix b/modules/common/linux/default.nix index cb7987f..33129d8 100644 --- a/modules/common/linux/default.nix +++ b/modules/common/linux/default.nix @@ -221,12 +221,16 @@ in hardware.opengl.driSupport = true; hardware.opengl.driSupport32Bit = !pkgs.stdenv.isAarch64; # For 32 bit applications # Email - programs.evolution = { + programs.thunderbird = { enable = true; - plugins = with pkgs; [ evolution-ews ]; # For @epfl.ch and @uwaterloo.ca emails + profiles.default = { + isDefault = true; + }; + settings = { + "privacy.donottrackheader.enabled" = true; + }; }; - ## Services # gnome-keyring for storing keys services.gnome.gnome-keyring.enable = true;