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