Skip to content

Commit 8779dd2

Browse files
committed
set default browser
1 parent 1235f2c commit 8779dd2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

home/xdg.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,14 @@ _:
33
{
44
xdg = {
55
enable = true;
6+
mimeApps = {
7+
enable = true;
8+
defaultApplications = {
9+
"text/html" = "chromium-browser.desktop";
10+
"x-scheme-handler/http" = "chromium-browser.desktop";
11+
"x-scheme-handler/https" = "chromium-browser.desktop";
12+
"x-scheme-handler/about" = "chromium-browser.desktop";
13+
};
14+
};
615
};
716
}

0 commit comments

Comments
 (0)