From 4d6dc23e48b43d9c3e3a76dc7eeaeae9a9c8971e Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 6 Jul 2024 13:39:43 -0400 Subject: [PATCH] nixos: move intel hybrid codec override to hardwareModules --- hardwareModules/gpu/intel/default.nix | 4 ++-- nixosModules/base/nixpkgs/default.nix | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hardwareModules/gpu/intel/default.nix b/hardwareModules/gpu/intel/default.nix index 7a346a83..c03c9542 100644 --- a/hardwareModules/gpu/intel/default.nix +++ b/hardwareModules/gpu/intel/default.nix @@ -23,13 +23,13 @@ extraPackages = with pkgs; [ 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 ]; extraPackages32 = with pkgs.driversi686Linux; [ 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 ]; }; diff --git a/nixosModules/base/nixpkgs/default.nix b/nixosModules/base/nixpkgs/default.nix index 4b22dbfe..1edf11ac 100644 --- a/nixosModules/base/nixpkgs/default.nix +++ b/nixosModules/base/nixpkgs/default.nix @@ -22,7 +22,6 @@ brave = prev.brave.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; - intel-vaapi-driver = prev.intel-vaapi-driver.override {enableHybridCodec = true;}; nerdfonts = prev.nerdfonts.override {fonts = ["Noto"];}; obsidian = prev.obsidian.overrideAttrs (old: {