From a164e3c65cf7d7f65b3d78a82c8d564aba5efdbb Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Thu, 16 Oct 2025 23:42:15 +0100 Subject: [PATCH] qol(chromium@modules): mime types of chromium --- nix/modules/chromium/home.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix/modules/chromium/home.nix b/nix/modules/chromium/home.nix index 713b08c..4b72973 100644 --- a/nix/modules/chromium/home.nix +++ b/nix/modules/chromium/home.nix @@ -27,5 +27,12 @@ in ]; package = pkgs.chromium.override { enableWideVine = true; }; }; + xdg.mimeApps.defaultApplications = { + "text/html" = "chromium.desktop"; + "x-scheme-handler/http" = "chromium.desktop"; + "x-scheme-handler/https" = "chromium.desktop"; + "x-scheme-handler/about" = "chromium.desktop"; + "x-scheme-handler/unknown" = "chromium.desktop"; + }; }; }