1
0
Fork 0
nix-config/modules/home/apps/thunderbird/default.nix
2025-02-27 17:33:29 +01:00

27 lines
416 B
Nix

{
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.apps.thunderbird;
in
{
options.${namespace}.apps.thunderbird = with types; {
enable = mkBoolOpt false "Whether or not to enable Firefox.";
};
config = mkIf cfg.enable {
programs.thunderbird = {
enable = true;
profiles."philipp" = {
isDefault = true;
};
};
};
}