aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/desktop.nix4
-rw-r--r--nixos/modules/develop.nix2
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