mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
WIP: develop mail config
This commit is contained in:
@@ -6,13 +6,34 @@
|
|||||||
pkgs.msmtp
|
pkgs.msmtp
|
||||||
pkgs.neomutt
|
pkgs.neomutt
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.me = {
|
home-manager.users.me = {
|
||||||
|
programs.astroid = {
|
||||||
|
enable = true;
|
||||||
|
externalEditor = "urxvt -embed %3 -e nvim %1";
|
||||||
|
pollScript = "offlineimap";
|
||||||
|
};
|
||||||
|
|
||||||
accounts.email.maildirBasePath = "${config.users.users.me.home}/mail";
|
accounts.email.maildirBasePath = "${config.users.users.me.home}/mail";
|
||||||
|
|
||||||
|
accounts.email.accounts.amroplay = {
|
||||||
|
astroid.enable = true;
|
||||||
|
address = "amroplay@gmail.com";
|
||||||
|
userName = "amroplay";
|
||||||
|
flavor = "gmail.com";
|
||||||
|
realName = config.niveum.user.name;
|
||||||
|
msmtp.enable = true;
|
||||||
|
notmuch.enable = true;
|
||||||
|
offlineimap = {
|
||||||
|
enable = true;
|
||||||
|
postSyncHookCommand = "notmuch new";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
accounts.email.accounts.hu-berlin = {
|
accounts.email.accounts.hu-berlin = {
|
||||||
|
astroid.enable = true;
|
||||||
address = "meinhark@hu-berlin.de";
|
address = "meinhark@hu-berlin.de";
|
||||||
userName = "meinhark";
|
userName = "meinhark";
|
||||||
realName = config.niveum.user.fullName;
|
realName = config.niveum.user.name;
|
||||||
imap = {
|
imap = {
|
||||||
host = "mailbox.cms.hu-berlin.de";
|
host = "mailbox.cms.hu-berlin.de";
|
||||||
port = 993;
|
port = 993;
|
||||||
@@ -32,8 +53,6 @@
|
|||||||
primary = true;
|
primary = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.offlineimap = {
|
programs.offlineimap.enable = true;
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user