From 5352613027da11433f25d09d764ea406f2c786a2 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 23 Oct 2024 01:07:59 -0700 Subject: Add nVidia patches --- hosts/arrakis/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/arrakis/hardware-configuration.nix') diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index 0983fac..bbf171f 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, inputs, lib, nvidia-patch, pkgs, modulesPath, ... }: +{ config, inputs, lib, pkgs, modulesPath, ... }: let package = config.boot.kernelPackages.nvidiaPackages.beta; @@ -103,7 +103,7 @@ in nvidia = { modesetting.enable = true; open = true; - package = inputs.nvidia-patch.packages.x86_64-linux.nvidia-patch.patch-nvenc (inputs.nvidia-patch.packages.x86_64-linux.nvidia-patch.patch-fbc package); + package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc package); }; }; } -- cgit v1.2.3