1
0
Fork 0
nix-config/modules/home/apps/thunderbird/default.nix

27 lines
420 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 Thunderbird.";
};
config = mkIf cfg.enable {
programs.thunderbird = {
enable = true;
profiles."philipp" = {
isDefault = true;
};
};
};
}