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 ];
|
||||
home.packages = with pkgs; [
|
||||
firefox
|
||||
chromium
|
||||
];
|
||||
programs.firefox.enable = true;
|
||||
programs.chromium.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue