Accelerated Video Playback: Difference between revisions

Unabomberlive (talk | contribs)
Marked this version for translation
Tags: Mobile edit Mobile web edit
drop 24.05 compat
Line 13: Line 13:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{
{
   hardware.graphics = { # hardware.opengl in 24.05 and older
   hardware.graphics = {
     enable = true;
     enable = true;
     extraPackages = with pkgs; [
     extraPackages = with pkgs; [
Line 34: Line 34:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{
{
  # hardware.opengl.extraPackages32 in 24.05
   hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ intel-vaapi-driver ];
   hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ intel-vaapi-driver ];
}
}