mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 17:20:13 +00:00
separate groups and himalaya
This commit is contained in:
28
modules/mail/himalaya.nix
Normal file
28
modules/mail/himalaya.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ pkgs, lib, user, ... }: {
|
||||
|
||||
home-manager.users.${user} = {
|
||||
|
||||
home.packages = with pkgs; [ himalaya ];
|
||||
|
||||
programs.himalaya = {
|
||||
enable = true;
|
||||
settings = {
|
||||
name = "${name}";
|
||||
downloads-dir = "~/Downloads";
|
||||
home = {
|
||||
default = true;
|
||||
email = "censored";
|
||||
imap-host = "censored";
|
||||
imap-port = 993;
|
||||
imap-login = "censored";
|
||||
imap-passwd-cmd = "cat ~/.config/himalaya/passwd";
|
||||
smtp-host = "censored";
|
||||
smtp-port = 587;
|
||||
smtp-login = "censored";
|
||||
smtp-passwd-cmd = "cat ~/.config/himalaya/passwd";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user