From b5a5bb1e96ec52723dcca18ee002bffea6ca3a94 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 29 Aug 2024 22:31:20 -0500 Subject: [PATCH] feat(hm/price): use thunderbird as default mail application --- users/price/conf/thunderbird/default.nix | 20 ++++++++++++++++++++ users/price/home.nix | 1 - 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 users/price/conf/thunderbird/default.nix diff --git a/users/price/conf/thunderbird/default.nix b/users/price/conf/thunderbird/default.nix new file mode 100644 index 00000000..c9288198 --- /dev/null +++ b/users/price/conf/thunderbird/default.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: +{ + home.packages = [ pkgs.thunderbird ]; + xdg = { + desktopEntries.thunderbird = { + name = "thunderbird"; + exec = "${pkgs.thunderbird}/bin/thunderbird"; + }; + mimeApps = { + associations.added = { + "x-scheme-handler/mailto" = [ "thunderbird.desktop " ]; + "text/calendar" = [ "thunderbird.desktop " ]; + }; + defaultApplications = { + "x-scheme-handler/mailto" = [ "thunderbird.desktop " ]; + "text/calendar" = [ "thunderbird.desktop " ]; + }; + }; + }; +} diff --git a/users/price/home.nix b/users/price/home.nix index 6ccd0c5d..5274a4f8 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -90,7 +90,6 @@ in gh ffmpeg man - thunderbird jq tectonic fzf