From f03eaf57c08a9ee942e84666663458d7b437a408 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 23 Oct 2024 01:38:21 -0700 Subject: Add nVidia patches --- hosts/arrakis/hardware-configuration.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index bbf171f..92cbe02 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -3,9 +3,6 @@ # to /etc/nixos/configuration.nix instead. { config, inputs, lib, pkgs, modulesPath, ... }: -let - package = config.boot.kernelPackages.nvidiaPackages.beta; -in { imports = [ #(modulesPath + "/installer/scan/not-detected.nix") @@ -103,7 +100,7 @@ in nvidia = { modesetting.enable = true; open = true; - package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc package); + package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc config.boot.kernelPackages.nvidiaPackages.beta); }; }; } -- cgit v1.2.3