aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/desktop.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/desktop.nix')
-rw-r--r--nixos/modules/desktop.nix4
1 files changed, 4 insertions, 0 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 = {