about summary refs log tree commit diff
path: root/home/profiles/browsing
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/browsing')
-rw-r--r--home/profiles/browsing/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/home/profiles/browsing/default.nix b/home/profiles/browsing/default.nix
index da69908..54a44fc 100644
--- a/home/profiles/browsing/default.nix
+++ b/home/profiles/browsing/default.nix
@@ -38,5 +38,16 @@ in
         url.start_pages = "https://searx.be";
       };
     };
+
+    xdg.mimeApps = lib.mkIf pkgs.stdenv.isLinux {
+      enable = true;
+      defaultApplications = {
+          "x-scheme-handler/http" = [ "org.qutebrowser.qutebrowser.desktop" ];
+          "x-scheme-handler/https" = [ "org.qutebrowser.qutebrowser.desktop" ];
+          "text/html" = [ "org.qutebrowser.qutebrowser.desktop" ];
+          "x-scheme-handler/about" = [ "org.qutebrowser.qutebrowser.desktop" ];
+          "x-scheme-handler/unknown" = [ "org.qutebrowser.qutebrowser.desktop" ];
+      };
+    };
   };
 }