diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-23 01:38:21 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-23 01:38:21 -0700 |
commit | f03eaf57c08a9ee942e84666663458d7b437a408 (patch) | |
tree | 3665790b2d8774078d2fbb613d7d4ef334292ee2 | |
parent | 5352613027da11433f25d09d764ea406f2c786a2 (diff) | |
download | nix-f03eaf57c08a9ee942e84666663458d7b437a408.tar nix-f03eaf57c08a9ee942e84666663458d7b437a408.tar.gz nix-f03eaf57c08a9ee942e84666663458d7b437a408.tar.bz2 nix-f03eaf57c08a9ee942e84666663458d7b437a408.tar.lz nix-f03eaf57c08a9ee942e84666663458d7b437a408.tar.xz nix-f03eaf57c08a9ee942e84666663458d7b437a408.tar.zst nix-f03eaf57c08a9ee942e84666663458d7b437a408.zip |
Add nVidia patches
-rw-r--r-- | hosts/arrakis/hardware-configuration.nix | 5 |
1 files changed, 1 insertions, 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); }; }; } |