Set Firefox as default browser via home-manager xdg.mimeApps

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-04-16 16:43:35 -07:00
commit f283f9453d

View file

@ -227,6 +227,15 @@ in
home-manager.users.eblume = {
home.stateVersion = "25.11";
xdg.mimeApps = {
enable = true;
defaultApplications = {
"x-scheme-handler/http" = [ "firefox.desktop" ];
"x-scheme-handler/https" = [ "firefox.desktop" ];
"text/html" = [ "firefox.desktop" ];
};
};
wayland.windowManager.sway = {
enable = true;
checkConfig = false;