add thunderbird to home module

This commit is contained in:
ulic-youthlic 2025-01-26 15:06:26 +08:00
parent f80f07ea8a
commit a69f8cd125
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 24 additions and 0 deletions

View file

@ -32,6 +32,7 @@
mpv.enable = true;
kvm.enable = true;
atuin.enable = true;
thunderbird.enable = true;
};
david = {

View file

@ -28,6 +28,7 @@
./atuin.nix
./swaync.nix
./swaylock.nix
./thunderbird.nix
];
options = {

View file

@ -0,0 +1,22 @@
{ config, lib, ... }:
let
cfg = config.youthlic.programs.thunderbird;
in
{
options = {
youthlic.programs.thunderbird = {
enable = lib.mkEnableOption "thunderbird";
};
};
config = lib.mkIf cfg.enable {
programs.thunderbird = {
enable = true;
profiles = {
default = {
withExternalGnupg = true;
isDefault = true;
};
};
};
};
}