Enable chromium native wayland support (hopefully)

This commit is contained in:
Evie Litherland-Smith 2023-10-30 15:02:25 +00:00
parent 3ab4ecfde8
commit fd96d4efd4

View file

@ -2,23 +2,28 @@
{ {
imports = [ ./desktop.nix ]; imports = [ ./desktop.nix ];
environment.systemPackages = with pkgs; [ nixpkgs.config.chromium.commandLineArgs =
libsForQt5.polkit-kde-agent "--enable-features=UseOzonePlatform --ozone-platform=wayland";
xdg-utils environment = {
wlr-randr sessionVariables.NIXOS_OZONE_WL = "1";
hyprpaper systemPackages = with pkgs; [
pipewire libsForQt5.polkit-kde-agent
wireplumber xdg-utils
wtype wlr-randr
wl-clipboard hyprpaper
watershot.packages.${pkgs.system}.default pipewire
grim wireplumber
swayimg wtype
pamixer wl-clipboard
pavucontrol watershot.packages.${pkgs.system}.default
playerctl grim
brightnessctl swayimg
]; pamixer
pavucontrol
playerctl
brightnessctl
];
};
services = { services = {
blueman.enable = true; blueman.enable = true;
gvfs.enable = true; gvfs.enable = true;