26 lines
456 B
Nix
26 lines
456 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.david.programs.thunderbird;
|
|
in {
|
|
options = {
|
|
david.programs.thunderbird = {
|
|
enable = lib.mkEnableOption "thunderbird";
|
|
};
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
programs.thunderbird = {
|
|
enable = true;
|
|
package = pkgs.thunderbird-bin;
|
|
profiles = {
|
|
default = {
|
|
withExternalGnupg = true;
|
|
isDefault = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|