Thunderbird: Add work mail.
This commit is contained in:
parent
02bf76dfd7
commit
7a5bb2b71f
|
@ -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
|
||||
|
|
23
home/file/keyd/module/Thunderbird.nix
Normal file
23
home/file/keyd/module/Thunderbird.nix
Normal 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.
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue