Thunderbird: Add work mail.

This commit is contained in:
Dmitry Voronin 2025-01-10 09:33:39 +03:00
parent 02bf76dfd7
commit 7a5bb2b71f
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 55 additions and 0 deletions

View file

@ -20,6 +20,24 @@ let
}
);
mkWorkMail =
cfg:
mkMail (
cfg
// {
imap = {
host = "home.local";
port = 55143;
tls.enable = false;
};
smtp = {
host = "home.local";
port = 55025;
tls.enable = false;
};
}
);
mkHomeCalendar = {
remote = {
type = "caldav";
@ -28,6 +46,14 @@ let
};
};
mkWorkCalendar = {
remote = {
type = "caldav";
url = "http://home.local:55080";
userName = "voronind";
};
};
realName = "Dmitry Voronin";
in
{
@ -58,6 +84,11 @@ in
address = "trash@voronind.com";
userName = "trash@voronind.com";
};
Work = mkWorkMail {
inherit realName;
address = "dd.voronin@fsight.ru";
userName = "fs\\dd.voronin";
};
};
# ISSUE: https://github.com/nix-community/home-manager/issues/5775
@ -73,6 +104,7 @@ in
medium = mkHomeCalendar;
payment = mkHomeCalendar;
work = mkHomeCalendar;
fsight = mkWorkCalendar;
};
# ISSUE: https://github.com/nix-community/home-manager/issues/5933

View file

@ -0,0 +1,23 @@
{ pkgs, ... }:
{
file = (pkgs.formats.ini { }).generate "keyd-thunderbird-config" {
"thunderbird" = {
"alt.x" = "C-w"; # Close tab.
"alt.u" = "C-S-t"; # Restore closed tab.
"alt.q" = "C-pageup"; # Prev tab.
"alt.e" = "C-pagedown"; # Next tab.
"alt.Q" = "C-S-pageup"; # Move tab left.
"alt.E" = "C-S-pagedown"; # Move tab right.
"alt.a" = "A-left"; # Go back.
"alt.d" = "A-right"; # Go forward.
"alt.w" = "p"; # Paste and go.
"alt.f" = "C-f"; # Find text.
"alt.N" = "S-f3"; # Find prev.
"alt.n" = "f3"; # Find next.
"alt.space" = "f6"; # Focus address bar.
"alt.r" = "C-f5"; # Full refresh.
"alt.m" = "C-m"; # Toggle tab mute.
"alt.s" = "A-p"; # Pin tab.
};
};
}