diff options
author | Karel Kočí <cynerd@email.cz> | 2022-06-23 15:39:38 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-06-23 15:39:38 +0200 |
commit | dbfa517f33ab35f78d8dc3f246aa0078d3db8e05 (patch) | |
tree | 4066551ed4be440dc2b3abb15835336eb79da0fe | |
parent | 84115573e33efe82ae42643e1d3a4ecd618be501 (diff) | |
download | nixos-personal-dbfa517f33ab35f78d8dc3f246aa0078d3db8e05.tar.gz nixos-personal-dbfa517f33ab35f78d8dc3f246aa0078d3db8e05.tar.bz2 nixos-personal-dbfa517f33ab35f78d8dc3f246aa0078d3db8e05.zip |
nixos/modules: ctags for develop and few mimes for desktop
-rw-r--r-- | nixos/modules/desktop.nix | 4 | ||||
-rw-r--r-- | nixos/modules/develop.nix | 2 |
2 files changed, 5 insertions, 1 deletions
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 |