From 51b55c85a1fd12377f76f5fa42513e9b747d160c Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 26 Feb 2024 18:09:39 +0300 Subject: [PATCH] Gnome : Add default apps. --- .config/linux/system/module/Gnome.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/linux/system/module/Gnome.nix b/.config/linux/system/module/Gnome.nix index 04645b3..faaad62 100644 --- a/.config/linux/system/module/Gnome.nix +++ b/.config/linux/system/module/Gnome.nix @@ -10,6 +10,12 @@ in { options = "grp:caps_toggle,lv3:ralt_switch"; }; + # Specify default apps. + xdg.mime.defaultApplications = { + "image/png" = "org.gnome.Loupe.desktop"; + "image/jpeg" = "org.gnome.Loupe.desktop"; + }; + # Disable some apps. services.gnome.gnome-keyring.enable = lib.mkForce false; environment.gnome.excludePackages = with pkgs.gnome; [