From a4ade5b099a26c09db666c4ad2dd960c991bbf0b Mon Sep 17 00:00:00 2001 From: 514fpv Date: Wed, 3 Jan 2024 15:27:15 +0800 Subject: [PATCH] home(chrome): add chrome package and wayland args --- home/chrome/home.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 home/chrome/home.nix diff --git a/home/chrome/home.nix b/home/chrome/home.nix new file mode 100644 index 00000000..acf11ae3 --- /dev/null +++ b/home/chrome/home.nix @@ -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" + ]; + }; +}