Add args to make chromium use wayland native
This commit is contained in:
parent
c0bc076a92
commit
57d52979da
8
nixos/home-manager/packages/gui/browser-wayland.nix
Normal file
8
nixos/home-manager/packages/gui/browser-wayland.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [ ./browser.nix ];
|
||||||
|
programs.chromium.commandLineArgs = [
|
||||||
|
"--enable-features=UseOzonePlatform"
|
||||||
|
"--ozone-platform=wayland"
|
||||||
|
];
|
||||||
|
}
|
|
@ -1,8 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./common.nix ];
|
imports = [ ./common.nix ];
|
||||||
home.packages = with pkgs; [
|
programs.firefox.enable = true;
|
||||||
firefox
|
programs.chromium.enable = true;
|
||||||
chromium
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue