home(chrome): add chrome package and wayland args
This commit is contained in:
parent
8e40f9a66a
commit
4326a709f2
1 changed files with 13 additions and 0 deletions
13
home/chrome/home.nix
Normal file
13
home/chrome/home.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue