nixos/modules/common/applications/thunderbird.nix

39 lines
890 B
Nix
Raw Normal View History

2024-05-26 13:07:54 -04:00
{ config, pkgs, lib, ... }:
{
options = {
thunderbird = {
enable = lib.mkEnableOption {
description = "Enable Thunderbird";
default = false;
};
};
};
config = lib.mkIf (config.gui.enable && config.thunderbird.enable) {
2024-05-26 13:39:22 -04:00
# tktkmodtchcslyirtlgj
2024-05-26 13:07:54 -04:00
home-manager.users.${config.user} = {
2024-05-26 13:42:00 -04:00
accounts.email.accounts = {
adhdgirl = {
userName = "";
realName = "Annika Merris";
address = "annika@adhdgirl.com";
imap = {
host = "imap.purelymail.com";
port = 993;
};
smtp = {
host = "smtp.purelymail.com";
port = 465;
};
thunderbird.enable = true;
};
};
2024-05-26 13:07:54 -04:00
programs.thunderbird = {
enable = true;
2024-05-26 13:39:22 -04:00
profiles = {
adhdgirl.isDefault = true;
};
2024-05-26 13:07:54 -04:00
};
};
};
}