summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-07-02 20:44:10 -0500
committerChristian <[email protected]>2026-07-02 20:44:10 -0500
commita687d35759647673c494b62a5ec498fd8e8d6a47 (patch)
tree4f43d7fb3c36989028c6401b3b08cee8dd86e712 /modules/home
parentbd316d98d957f6024f4287dc1eb4484e8f4d5da7 (diff)
Add calibre and configure xdg MIME type associations
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/christian.nix11
1 files changed, 11 insertions, 0 deletions
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" ];
+ };
+ };
};
}