diff --git a/configs/aerc.nix b/configs/aerc.nix index f8082ed..ab656bc 100644 --- a/configs/aerc.nix +++ b/configs/aerc.nix @@ -4,7 +4,7 @@ lib, ... }: let - inherit (import ../lib/email.nix) defaults; + inherit (import ../lib/email.nix) defaults thunderbirdProfile; in { age.secrets = { email-password-cock = { @@ -96,6 +96,26 @@ in { # programs.himalaya.enable = true; + programs.thunderbird = { + enable = true; + settings = { + }; + profiles.${thunderbirdProfile} = { + isDefault = true; + settings = { + "mail.default_send_format" = 1; + "msgcompose.default_colors" = false; + "msgcompose.text_color" = config.lib.stylix.colors.withHashtag.base00; + "msgcompose.background_color" = config.lib.stylix.colors.withHashtag.base05; + }; + userChrome = '' + ''; + userContent = '' + ''; + withExternalGnupg = false; + }; + }; + programs.aerc = { enable = true; diff --git a/configs/khal.nix b/configs/khal.nix index c3c6245..5470db5 100644 --- a/configs/khal.nix +++ b/configs/khal.nix @@ -1,7 +1,6 @@ { config, pkgs, - lib, ... }: let davHome = "~/.local/share/dav"; diff --git a/lib/email.nix b/lib/email.nix index bd466cf..33478e3 100644 --- a/lib/email.nix +++ b/lib/email.nix @@ -1,5 +1,10 @@ -{ +rec { + thunderbirdProfile = "donnervogel"; defaults = { + thunderbird = { + enable = true; + profiles = [thunderbirdProfile]; + }; aerc.enable = true; realName = "KierĂ¡n Meinhardt"; folders.inbox = "INBOX";