home: set librewolf as the default html handler

This commit is contained in:
2022-07-01 04:36:32 -07:00
parent f210b22494
commit b7000c6d48
2 changed files with 8 additions and 2 deletions

View File

@@ -1,9 +1,7 @@
# features/tweaks # features/tweaks
- set firefox default search engine
- iron out video drivers - iron out video drivers
- emoji picker application - emoji picker application
- find a Masto/Pleroma app which works on mobile - find a Masto/Pleroma app which works on mobile
- set default apps (https://unix.stackexchange.com/a/684582)
# speed up cross compiling # speed up cross compiling

View File

@@ -65,6 +65,14 @@ in
templates = "$HOME/.xdg/Templates"; templates = "$HOME/.xdg/Templates";
videos = "$HOME/Videos"; videos = "$HOME/Videos";
}; };
xdg.mimeApps.enable = true;
xdg.mimeApps.defaultApplications = {
"text/html" = [ "librewolf.desktop" ];
"x-scheme-handler/http" = [ "librewolf.desktop" ];
"x-scheme-handler/https" = [ "librewolf.desktop" ];
"x-scheme-handler/about" = [ "librewolf.desktop" ];
"x-scheme-handler/unknown" = [ "librewolf.desktop" ];
};
# convenience # convenience
home.file."knowledge".source = config.lib.file.mkOutOfStoreSymlink "/home/colin/dev/knowledge"; home.file."knowledge".source = config.lib.file.mkOutOfStoreSymlink "/home/colin/dev/knowledge";