summaryrefslogtreecommitdiff
path: root/home/home.nix
diff options
context:
space:
mode:
authorstuebinm2023-04-18 18:32:25 +0200
committerstuebinm2023-04-18 18:32:25 +0200
commit87fc4df35070a0bf5f1524cf081128b51d56dad8 (patch)
tree3ed445523843ba5258572c39ad62c1982a483b2a /home/home.nix
parent674517730ad3b7c52fd4d8a14cf4891a42e209a5 (diff)
home: proper xdg-open behaviour for pdfs
Diffstat (limited to '')
-rw-r--r--home/home.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/home/home.nix b/home/home.nix
index e972a46..2648638 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -15,6 +15,12 @@
_JAVA_AWT_WM_NONREPARENTING = 1;
};
+ xdg.mimeApps = {
+ enable = true;
+ associations.added."application/pdf" = [ "org.pwmt.zathura.desktop" ];
+ defaultApplications."application/pdf" = [ "org.pwmt.zathura.desktop" ];
+ };
+
programs.msmtp.enable = true;
programs.mbsync.enable = true;
programs.mu.enable = true;