mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:48:12 +09:00
27 lines
686 B
Nix
27 lines
686 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
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";
|
|
};
|
|
}
|