refactoring home manager modules

This commit is contained in:
Chris Kruining 2026-03-30 09:09:01 +02:00
parent 20de142350
commit f59d282c12
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
44 changed files with 0 additions and 80 deletions

View file

@ -1,52 +0,0 @@
{
inputs,
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.sneeuwvlok.application.thunderbird;
in {
options.sneeuwvlok.application.thunderbird = {
enable = mkEnableOption "enable thunderbird";
};
config = mkIf cfg.enable {
programs.thunderbird = {
enable = true;
package = pkgs.thunderbird-latest;
profiles.chris = {
isDefault = 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;
};
};
};
};
}