add email programs

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-19 14:56:46 +01:00
parent bafd7f91c2
commit bcfa9c8c44
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 26 additions and 3 deletions

View file

@ -2,6 +2,7 @@
imports = [
../programs/zsh.nix
../programs/vim.nix
../programs/mail.nix
];
programs = {
zsh = {
@ -52,7 +53,7 @@
This message was sent from an old email address. My new email address is lotte@chir.rs.
Please update your contacts accordingly
'';
signature.method = "append";
signature.showSignature = "append";
smtp.host = "mail.darkkirb.de";
userName = "darkkirb@darkkirb.de";
};
@ -67,7 +68,7 @@
https://darkkirb.de GPG Key 3CEF 5DDA 915A ECB0 https://keybase.io/darkkirb
'';
signature.method = "append";
signature.showSignature = "append";
userName = "lotte@chir.rs";
};
mdelenk = darkkirb // {
@ -83,7 +84,7 @@
--
Morten
'';
signature.method = "append";
signature.showSignature = "append";
smtp = {
host = "xc.hs-mittweida.de";
port = 587;
@ -92,4 +93,12 @@
userName = "mdelenk@hs-mittweida.de";
};
};
home = {
sessionVariables = {
EDITOR = "nvim";
};
shellAliases = {
vim = "nvim";
};
};
}

14
config/programs/mail.nix Normal file
View file

@ -0,0 +1,14 @@
{ ... }: {
services.imapnotify.enable = true;
programs.mbsync.enable = true;
programs.notmuch = {
enable = true;
};
programs.neomutt = {
enable = true;
vimKeys = true;
sidebar = {
enable = true;
};
};
}