From 0d283994da8171621f22a171af823e066e64e904 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Mon, 21 Oct 2024 00:44:19 -0700 Subject: Add nVidia patches --- hosts/arrakis/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hosts/arrakis') diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index ed9b51e..0fb45a5 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -83,6 +83,8 @@ ]; }; + nixpkgs.overlays = [inputs.nvidia-patch.overlays.default]; + swapDevices = [ { device = "/dev/disk/by-label/swap1"; } { device = "/dev/disk/by-label/swap2"; } @@ -98,7 +100,7 @@ nvidia = { modesetting.enable = true; open = true; - package = config.boot.kernelPackages.nvidiaPackages.beta; + package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc config.boot.kernelPackages.nvidiaPackages.beta); }; }; } -- cgit v1.2.3