Skip to content

Commit

Permalink
Add himalaya, and iCloud config
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Apr 22, 2022
1 parent 950a717 commit 1c18841
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Expand Up @@ -135,6 +135,7 @@
./home/git.nix
./home/tmux.nix
./home/neovim.nix
./home/email.nix
./home/terminal.nix
./home/direnv.nix
./home/starship.nix
Expand Down
28 changes: 28 additions & 0 deletions home/email.nix
@@ -0,0 +1,28 @@
{ pkgs, ... }:
{
programs.himalaya = {
enable = true;
settings = {};
};
accounts.email.accounts = {
icloud = {
primary = true;
himalaya.enable = true;
address = "srid@srid.ca";
realName = "Sridhar Ratnakumar";
userName = "happyandharmless";
passwordCommand = "op item get iCloud --fields label=himalaya";
imap = {
host = "imap.mail.me.com";
port = 993;
tls.enable = true;
};
smtp = {
host = "smtp.mail.me.com";
port = 587;
tls.enable = true;
};
};
};
}

0 comments on commit 1c18841

Please sign in to comment.