make firefox the default browser

This commit is contained in:
Jonas Röger 2024-04-14 20:00:43 +02:00
parent 605bf6246b
commit 6d07f91e20

View File

@ -5,12 +5,24 @@
./plasma.nix
./firefox.nix
];
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "jonas";
home.homeDirectory = "/home/jonas";
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = "firefox.desktop";
"x-scheme-handler/http" = "firefox.desktop";
"x-scheme-handler/https" = "firefox.desktop";
"x-scheme-handler/about" = "firefox.desktop";
"x-scheme-handler/unknown" = "firefox.desktop";
};
};
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
@ -73,7 +85,7 @@
"python"
"rust"
"thefuck"
];
];
theme = "bureau";
};
};