From 2ce31cfb74149d23c701682a61cf9c122424e463 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 16 Jul 2023 17:32:38 +0530 Subject: [PATCH] fix mime for eog --- home/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/default.nix b/home/default.nix index e141a46..facdf6d 100644 --- a/home/default.nix +++ b/home/default.nix @@ -5,7 +5,12 @@ _: { xdg.enable = true; xdg.mime.enable = true; - xdg.mimeApps.enable = true; + xdg.mimeApps = { + enable = true; + defaultApplications = { + "image/jpeg" = ["org.gnome.eog.desktop"]; + }; + }; xdg.userDirs.enable = true; xdg.desktopEntries."nixos-manual" = {