Skip to content

Commit

Permalink
fix: cleanup vaapi packages
Browse files Browse the repository at this point in the history
Those are added by nixos-hardware
  • Loading branch information
konradmalik committed Oct 6, 2024
1 parent c0a968c commit ebc7c17
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions hosts/common/modules/wayland-wm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,7 @@ in
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};

hardware.graphics = {
enable = true;
# https://nixos.wiki/wiki/Accelerated_Video_Playback
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD
vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
vaapiVdpau
libvdpau-va-gl
];
};
hardware.graphics.enable = true;

# Optional, hint electron apps to use wayland:
environment.sessionVariables.NIXOS_OZONE_WL = "1";
Expand Down

0 comments on commit ebc7c17

Please sign in to comment.