xdg: misc

- use firefox as default browser
- explicitly overwrite mimeapps file
This commit is contained in:
Oystein Kristoffer Tveit 2023-02-26 19:13:53 +01:00
parent f41fcce8c6
commit fbc9796d11
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 3 additions and 1 deletions

View File

@ -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 = {};