From a687d35759647673c494b62a5ec498fd8e8d6a47 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 2 Jul 2026 20:44:10 -0500 Subject: Add calibre and configure xdg MIME type associations --- modules/home/christian.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/home/christian.nix b/modules/home/christian.nix index 377e8ef..503f262 100644 --- a/modules/home/christian.nix +++ b/modules/home/christian.nix @@ -24,6 +24,7 @@ wget xclip hexyl + calibre ]; programs.alacritty = { @@ -141,5 +142,15 @@ }; programs.home-manager.enable = true; + + xdg.mimeApps = { + enable = true; + defaultApplications = { + "application/pdf" = [ "firefox.desktop" ]; + "text/html" = [ "firefox.desktop" ]; + "x-scheme-handler/http" = [ "firefox.desktop" ]; + "x-scheme-handler/https" = [ "firefox.desktop" ]; + }; + }; }; } -- cgit v1.2.3