mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 03:42:56 +00:00
24 lines
505 B
Nix
24 lines
505 B
Nix
{ config, lib, ... }: {
|
|
|
|
options.mail.himalaya.enable = lib.mkEnableOption "Himalaya email.";
|
|
|
|
config = lib.mkIf config.mail.himalaya.enable {
|
|
|
|
home-manager.users.${config.user} = {
|
|
|
|
programs.himalaya = { enable = true; };
|
|
accounts.email.accounts.home.himalaya = {
|
|
enable = true;
|
|
settings = {
|
|
downloads-dir = config.userDirs.download;
|
|
smtp-insecure = true;
|
|
};
|
|
};
|
|
|
|
programs.fish.shellAbbrs = { hi = "himalaya"; };
|
|
|
|
};
|
|
|
|
};
|
|
}
|