initial commit
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 3s

This commit is contained in:
sid 2026-02-23 20:34:35 +01:00
commit 95a533c876
451 changed files with 18255 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.wayland.windowManager.hyprland;
app = cfg.applications.emailclient.default;
desktop = "thunderbird.desktop";
mimeTypes = [
"message/rfc822"
"x-scheme-handler/mailto"
"text/calendar"
"text/x-vcard"
];
associations =
let
genMimeAssociations = import ../genMimeAssociations.nix;
in
genMimeAssociations desktop mimeTypes;
inherit (lib) mkIf;
in
{
config = mkIf (cfg.enable && app == "thunderbird") {
home.packages = [ pkgs.thunderbird ];
# programs.thunderbird = {
# enable = true;
# profiles.default = {
# isDefault = mkDefault true;
# withExternalGnupg = mkDefault true;
# };
# };
xdg.mimeApps = {
defaultApplications = associations;
associations.added = associations;
};
};
}