From dbfa517f33ab35f78d8dc3f246aa0078d3db8e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 23 Jun 2022 15:39:38 +0200 Subject: nixos/modules: ctags for develop and few mimes for desktop --- nixos/modules/desktop.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/modules/desktop.nix') diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index 5fb196b..184c52d 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -108,7 +108,11 @@ in { xdg.portal.gtkUsePortal = true; xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; xdg.mime.defaultApplications = { + "text/html" = [ "firefox.desktop" ]; "application/pdf" = [ "mupdf.desktop" ]; + "image/jpeg" = [ "feh.desktop" ]; + "image/png" = [ "feh.desktop" ]; + "image/svg" = [ "feh.desktop" ]; }; programs.gnupg.agent = { -- cgit v1.2.3