refactor
This commit is contained in:
parent
1206380efd
commit
7203fc1ed9
51 changed files with 175 additions and 108 deletions
104
home-manager/sajenim/features/desktop/email/default.nix
Normal file
104
home-manager/sajenim/features/desktop/email/default.nix
Normal file
|
@ -0,0 +1,104 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
# protonmail-bridge requires password manager
|
||||
pass
|
||||
# encrypt and decrypt our email messages
|
||||
protonmail-bridge
|
||||
];
|
||||
|
||||
accounts.email.accounts = {
|
||||
primary = {
|
||||
primary = true;
|
||||
userName = "its.jassy@pm.me";
|
||||
realName = "Jasmine Wilson";
|
||||
address = "its.jassy@pm.me";
|
||||
imap = {
|
||||
host = "127.0.0.1";
|
||||
port = 1143;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
smtp = {
|
||||
host = "127.0.0.1";
|
||||
port = 1025;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
|
||||
torrents = {
|
||||
userName = "its.kalopsia@pm.me";
|
||||
realName = "Kalopsia";
|
||||
address = "its.kalopsia@pm.me";
|
||||
imap = {
|
||||
host = "127.0.0.1";
|
||||
port = 1143;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
smtp = {
|
||||
host = "127.0.0.1";
|
||||
port = 1025;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
|
||||
sajkbd_primary = {
|
||||
userName = "sajkbd@pm.me";
|
||||
realName = "Sajenim";
|
||||
address = "sajkbd@pm.me";
|
||||
imap = {
|
||||
host = "127.0.0.1";
|
||||
port = 1143;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
smtp = {
|
||||
host = "127.0.0.1";
|
||||
port = 1025;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
|
||||
sajkbd_support = {
|
||||
userName = "support@sajkbd.io";
|
||||
realName = "Sajenim";
|
||||
address = "support@sajkbd.io";
|
||||
imap = {
|
||||
host = "127.0.0.1";
|
||||
port = 1143;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
smtp = {
|
||||
host = "127.0.0.1";
|
||||
port = 1025;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
|
||||
sajkbd_sales = {
|
||||
userName = "sales@sajkbd.io";
|
||||
realName = "Sajenim";
|
||||
address = "sales@sajkbd.io";
|
||||
imap = {
|
||||
host = "127.0.0.1";
|
||||
port = 1143;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
smtp = {
|
||||
host = "127.0.0.1";
|
||||
port = 1025;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Cross platform, decentralized, open-standard communication.
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
proton.isDefault = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue