From fbc9796d11c5b342eac3058c3545ab87d521c258 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 26 Feb 2023 19:13:53 +0100 Subject: [PATCH] xdg: misc - use firefox as default browser - explicitly overwrite mimeapps file --- home/config/xdg/mimetypes.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/config/xdg/mimetypes.nix b/home/config/xdg/mimetypes.nix index 5c4371b..5ad1717 100644 --- a/home/config/xdg/mimetypes.nix +++ b/home/config/xdg/mimetypes.nix @@ -4,6 +4,7 @@ let # Applications google-chrome = "google-chrome.desktop"; + firefox = "firefox.desktop"; gimp = "gimp.desktop"; inkscape = "org.inkscape.Inkscape.desktop"; vscode = "code.desktop"; @@ -75,10 +76,11 @@ let image-viewer = sxiv; pdf-viewer = zathura; video-player = mpv; - web-browser = google-chrome; + web-browser = firefox; in { + xdg.dataFile."applications/mimeapps.list".force = true; xdg.mimeApps = { enable = true; # associations.added = {};