Fix default browser

This commit is contained in:
2023-03-10 12:37:24 +09:00
parent 0d1b7d2ff5
commit 63ea4de4e5
5 changed files with 7 additions and 5 deletions
+4 -3
View File
@@ -96,15 +96,16 @@ in {
ssh = "kitty +kitten ssh";
};
home.sessionVariables = {
home.sessionVariables = rec {
EDITOR = "nvim";
VISUAL = "nvim";
VISUAL = EDITOR;
TERMINAL = "kitty";
BROWSER = "google-chrome-stable";
DEFAULT_BROWSER = BROWSER;
};
xdg.enable = true;
xdg.mimeApps = {
enable = false;
enable = true;
defaultApplications = {
"x-scheme-handler/http" = browser;
"x-scheme-handler/https" = browser;