From ae4cf6dd3136e6b8bdcf090005126e3848c599f5 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Tue, 15 Oct 2024 15:27:35 -0700 Subject: Add nVidia concurrent encoding limit patches --- hosts/arrakis/hardware-configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index 4e67e65..c120bd2 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -55,10 +55,12 @@ hardware = { bluetooth.enable = true; - nvidia = { + nvidia = let package = config.boot.kernelPackages.nvidiaPackages.beta; in { modesetting.enable = true; open = true; - package = config.boot.kernelPackages.nvidiaPackages.beta; + package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc package); }; }; + + nixpkgs.overlays = [inputs.nvidia-patch.overlays.default]; } -- cgit v1.2.3