home(chrome): add chrome package and wayland args

This commit is contained in:
514fpv 2024-01-03 15:27:15 +08:00
parent 8e40f9a66a
commit 4326a709f2
Signed by: koishi
SSH key fingerprint: SHA256:VkIdW3jUIiqecV2WNAje2fGU5lEhN0XZ58DN0NS4pv0

13
home/chrome/home.nix Normal file
View file

@ -0,0 +1,13 @@
{ pkgs
, lib
, config
, ...}: lib.mkIf config.passthrough.gui {
programs.chromium = {
enable = true;
package = pkgs.google-chrome;
commandLineArgs = [
"--enable-features=UseOzonePlatform"
"--ozone-platform=wayland"
];
};
}