graphical: use firefox to open PDFs

This commit is contained in:
teutat3s 2024-12-12 12:23:06 +01:00
parent 979348588b
commit e2319d1ce9
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 1 additions and 3 deletions

View file

@ -8,8 +8,6 @@ let
psCfg = config.pub-solar; psCfg = config.pub-solar;
in in
{ {
programs.evince.enable = true;
users.users."${psCfg.user.name}".packages = with pkgs; [ users.users."${psCfg.user.name}".packages = with pkgs; [
libreoffice-fresh libreoffice-fresh
simple-scan simple-scan

View file

@ -2,7 +2,7 @@
enable = true; enable = true;
defaultApplications = { defaultApplications = {
"application/octet-stream" = [ "firefox.desktop" ]; "application/octet-stream" = [ "firefox.desktop" ];
"application/pdf" = [ "org.gnome.Evince.desktop" ]; "application/pdf" = [ "firefox.desktop" ];
"application/x-bittorrent" = [ "deluge.desktop" ]; "application/x-bittorrent" = [ "deluge.desktop" ];
"application/x-extension-htm" = [ "firefox.desktop" ]; "application/x-extension-htm" = [ "firefox.desktop" ];
"application/x-extension-html" = [ "firefox.desktop" ]; "application/x-extension-html" = [ "firefox.desktop" ];