Files
nix-config/home/programs/browsers.nix
2023-05-07 00:10:15 +08:00

24 lines
410 B
Nix

{
pkgs,
config,
...
}: {
home.packages = with pkgs; [
# use wayland version of firefox
firefox-wayland
];
programs =
let commandLineArgs = [ "--enable-wayland-ime" "--ozone-platform=wayland" ];
in {
chromium = {
enable = true;
inherit commandLineArgs;
};
google-chrome = {
enable = true;
inherit commandLineArgs;
};
};
}