Enable chromium native wayland support (hopefully)
This commit is contained in:
parent
3ab4ecfde8
commit
fd96d4efd4
|
@ -2,7 +2,11 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./desktop.nix ];
|
imports = [ ./desktop.nix ];
|
||||||
environment.systemPackages = with pkgs; [
|
nixpkgs.config.chromium.commandLineArgs =
|
||||||
|
"--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
||||||
|
environment = {
|
||||||
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
systemPackages = with pkgs; [
|
||||||
libsForQt5.polkit-kde-agent
|
libsForQt5.polkit-kde-agent
|
||||||
xdg-utils
|
xdg-utils
|
||||||
wlr-randr
|
wlr-randr
|
||||||
|
@ -19,6 +23,7 @@
|
||||||
playerctl
|
playerctl
|
||||||
brightnessctl
|
brightnessctl
|
||||||
];
|
];
|
||||||
|
};
|
||||||
services = {
|
services = {
|
||||||
blueman.enable = true;
|
blueman.enable = true;
|
||||||
gvfs.enable = true;
|
gvfs.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue