mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-31 02:55:06 +08:00
wip: add himalaya
This commit is contained in:
parent
341d6880f9
commit
c8517cab73
2 changed files with 31 additions and 0 deletions
|
|
@ -36,6 +36,7 @@
|
|||
./bash.nix
|
||||
# ./kitty.nix
|
||||
./emacs.nix
|
||||
./himalaya.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
30
home/himalaya.nix
Normal file
30
home/himalaya.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
let
|
||||
iCloudMailSettings = {
|
||||
imap = {
|
||||
host = "imap.mail.me.com";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.mail.me.com";
|
||||
port = 587;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.himalaya = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
accounts.email.accounts = {
|
||||
"srid@srid.ca" = iCloudMailSettings // {
|
||||
primary = true;
|
||||
realName = "Sridhar Ratnakumar";
|
||||
address = "happyandharmless@icloud.com";
|
||||
aliases = [ "srid@srid.ca" ];
|
||||
userName = "happyandharmless";
|
||||
passwordCommand = "op read op://Personal/iCloud/password";
|
||||
himalaya.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue