nixos: move intel hybrid codec override to hardwareModules

This commit is contained in:
Aly Raffauf 2024-07-06 13:39:43 -04:00
parent ba604284dc
commit 4d6dc23e48
2 changed files with 2 additions and 3 deletions

View file

@ -23,13 +23,13 @@
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD intel-media-driver # LIBVA_DRIVER_NAME=iHD
intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) (intel-vaapi-driver.override {enableHybridCodec = true;})
libvdpau-va-gl libvdpau-va-gl
]; ];
extraPackages32 = with pkgs.driversi686Linux; [ extraPackages32 = with pkgs.driversi686Linux; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD intel-media-driver # LIBVA_DRIVER_NAME=iHD
intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) (intel-vaapi-driver.override {enableHybridCodec = true;})
libvdpau-va-gl libvdpau-va-gl
]; ];
}; };

View file

@ -22,7 +22,6 @@
brave = prev.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";}; brave = prev.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
google-chrome = prev.google-chrome.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";}; google-chrome = prev.google-chrome.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland; hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
intel-vaapi-driver = prev.intel-vaapi-driver.override {enableHybridCodec = true;};
nerdfonts = prev.nerdfonts.override {fonts = ["Noto"];}; nerdfonts = prev.nerdfonts.override {fonts = ["Noto"];};
obsidian = prev.obsidian.overrideAttrs (old: { obsidian = prev.obsidian.overrideAttrs (old: {