mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 14:06:53 -05:00
34 lines
814 B
Nix
34 lines
814 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
options = {
|
|
thunderbird = {
|
|
enable = lib.mkEnableOption {
|
|
description = "Enable Thunderbird";
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
config = lib.mkIf (config.gui.enable && config.thunderbird.enable) {
|
|
accounts.email.accounts = {
|
|
adhdgirl = {
|
|
userName = "";
|
|
realName = "Annika Merris";
|
|
address = "annika@adhdgirl.com";
|
|
imap.host = "imap.purelymail.com";
|
|
imap.port = 993;
|
|
smtp.host = "smtp.purelymail.com";
|
|
smtp.port = 465;
|
|
thunderbird.enable = true;
|
|
};
|
|
};
|
|
# tktkmodtchcslyirtlgj
|
|
home-manager.users.${config.user} = {
|
|
programs.thunderbird = {
|
|
enable = true;
|
|
profiles = {
|
|
adhdgirl.isDefault = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|