1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-10 17:13:52 +00:00
ultima/modules/home/programs/gui/thunderbird/default.nix

19 lines
373 B
Nix
Raw Normal View History

2024-11-21 09:24:15 +00:00
{ pkgs, lib, config, userName, True, ... }:
with lib;
let cfg = config.module.programs.gui.thunderbird;
in {
options = {
module.programs.gui.thunderbird = { enable = mkEnableOption ""; };
};
config = mkIf cfg.enable {
programs.thunderbird = True // {
package = pkgs.thunderbird-esr;
profiles.${userName} = { isDefault = true; };
};
};
}