Add args to make chromium use wayland native

This commit is contained in:
Evie Litherland-Smith 2023-04-16 06:12:00 +01:00
parent c0bc076a92
commit 57d52979da
2 changed files with 11 additions and 5 deletions

View file

@ -0,0 +1,8 @@
{ ... }:
{
imports = [ ./browser.nix ];
programs.chromium.commandLineArgs = [
"--enable-features=UseOzonePlatform"
"--ozone-platform=wayland"
];
}

View file

@ -1,8 +1,6 @@
{ pkgs, ... }:
{ ... }:
{
imports = [ ./common.nix ];
home.packages = with pkgs; [
firefox
chromium
];
programs.firefox.enable = true;
programs.chromium.enable = true;
}