From 25947a3010eecc420ec5b293854ad21704212845 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 7 Nov 2020 10:56:51 +0100 Subject: [PATCH] home: Manage xdg mimeapps --- users/simon/base.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/users/simon/base.nix b/users/simon/base.nix index de3da75..83c2d66 100644 --- a/users/simon/base.nix +++ b/users/simon/base.nix @@ -45,5 +45,14 @@ in gtk-enable-tooltips = 0 ''; }; + + xdg.mimeApps = { + enable = true; + defaultApplications = { + "application/pdf" = "org.pwmt.zathura.desktop"; + "image/png" = "mpv.desktop"; + "image/jpeg" = "mpv.desktop"; + }; + }; }; }