From e2319d1ce90ecdcfbf038de032ea28fb6e6d6310 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 12 Dec 2024 12:23:06 +0100 Subject: [PATCH] graphical: use firefox to open PDFs --- modules/office/default.nix | 2 -- modules/user/mimeapps.nix | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/office/default.nix b/modules/office/default.nix index 05f80883..e2ff0c55 100644 --- a/modules/office/default.nix +++ b/modules/office/default.nix @@ -8,8 +8,6 @@ let psCfg = config.pub-solar; in { - programs.evince.enable = true; - users.users."${psCfg.user.name}".packages = with pkgs; [ libreoffice-fresh simple-scan diff --git a/modules/user/mimeapps.nix b/modules/user/mimeapps.nix index 395c1b87..bb4609f1 100644 --- a/modules/user/mimeapps.nix +++ b/modules/user/mimeapps.nix @@ -2,7 +2,7 @@ enable = true; defaultApplications = { "application/octet-stream" = [ "firefox.desktop" ]; - "application/pdf" = [ "org.gnome.Evince.desktop" ]; + "application/pdf" = [ "firefox.desktop" ]; "application/x-bittorrent" = [ "deluge.desktop" ]; "application/x-extension-htm" = [ "firefox.desktop" ]; "application/x-extension-html" = [ "firefox.desktop" ];