mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
home/firefox: set as default browser
This commit is contained in:
parent
4eee316429
commit
4919a5819d
1 changed files with 6 additions and 4 deletions
|
|
@ -97,11 +97,13 @@ in {
|
|||
|
||||
xdg.mimeApps = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
associations.added = {
|
||||
"text/html" = ["firefox.desktop"];
|
||||
};
|
||||
# source: https://unix.stackexchange.com/a/684582
|
||||
defaultApplications = {
|
||||
"text/html" = ["firefox.desktop"];
|
||||
"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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue