From 5175e934a7ce4502c289cbf802c38872232eddcd Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 16 Oct 2024 17:33:24 -0700 Subject: [PATCH] filetypes: firefox default browser --- home/modules/filetypes.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/home/modules/filetypes.nix b/home/modules/filetypes.nix index 747e490..130614a 100644 --- a/home/modules/filetypes.nix +++ b/home/modules/filetypes.nix @@ -8,7 +8,7 @@ in { config = lib.mkIf cfg.enable { xdg.mimeApps = let - browser = "brave-browser.desktop"; + browser = "firefox.desktop"; mimeAppsFor = value: list: @@ -28,10 +28,13 @@ in { "application/xhtml+xml" "text/html" "x-scheme-handler/about" - "x-scheme-handler/chrome" "x-scheme-handler/http" "x-scheme-handler/https" ]) + + (mimeAppsFor "brave-browser.desktop" [ + "x-scheme-handler/chrome" + ]) ]; };