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 ++++ nixos/modules/develop.nix | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'nixos') 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 = { diff --git a/nixos/modules/develop.nix b/nixos/modules/develop.nix index c676b5e..1875e57 100644 --- a/nixos/modules/develop.nix +++ b/nixos/modules/develop.nix @@ -29,7 +29,7 @@ in { rnix-lsp # C - ccls bear + ccls bear ctags check valgrind cppcheck flawfinder -- cgit v1.2.3