aight, making progress

This commit is contained in:
Chris Kruining 2025-07-28 16:52:48 +02:00
parent c2d6c719a2
commit 9aa634bd71
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
37 changed files with 451 additions and 620 deletions

View file

@ -0,0 +1,45 @@
{ inputs, config, lib, pkgs, namespace, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.application.thunderbird;
in
{
options.${namespace}.application.thunderbird = {
enable = mkEnableOption "enable thunderbird";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ thunderbird ];
programs.thunderbird = {
enable = true;
};
accounts.email.accounts = {
kruining = {
primary = true;
address = "chris@kruinin.eu";
realName = "Chris Kruining";
imap = {
host = "imap.kruining.eu";
port = 993;
};
thunderbird = {
enable = true;
profiles = [ "chris" ];
};
};
cgames = {
primary = false;
address = "chris@cgames.nl";
realName = "Chris P Bacon";
imap = {
host = "imap.cgames.nl";
port = 993;
};
};
};
};
}