This commit is contained in:
2025-11-03 14:51:21 +09:00
parent db17be079b
commit 4de8705203
2 changed files with 27 additions and 0 deletions
+17
View File
@@ -6,4 +6,21 @@
home.packages = with pkgs; [
google-chrome
];
xdg.desktopEntries."google-chrome" = {
name = "Google Chrome";
genericName = "Web Browser";
exec = "${pkgs.google-chrome}/bin/google-chrome-stable --enable-features=TouchpadOverscrollHistoryNavigation %U";
terminal = false;
icon = "google-chrome";
categories = [ "Network" "WebBrowser" ];
startupNotify = true;
type = "Application";
};
xdg.mimeApps.defaultApplications = {
"text/html" = "google-chrome.desktop";
"x-scheme-handler/http" = "google-chrome.desktop";
"x-scheme-handler/https" = "google-chrome.desktop";
};
}