summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/nvidia.nix18
1 files changed, 1 insertions, 17 deletions
diff --git a/system/nvidia.nix b/system/nvidia.nix
index 1135434..ff38b04 100644
--- a/system/nvidia.nix
+++ b/system/nvidia.nix
@@ -25,23 +25,7 @@ in {
};
open = true;
nvidiaSettings = true;
- package = let
- pkg = config.boot.kernelPackages.nvidiaPackages.latest;
- in
- pkg
- // {
- open = pkg.open.overrideAttrs (finalAttrs: {
- patches =
- (finalAttrs.patches or [])
- ++ [
- (pkgs.fetchpatch {
- name = "linux-6.19";
- url = "https://raw.githubusercontent.com/CachyOS/CachyOS-PKGBUILDS/refs/heads/master/nvidia/nvidia-utils/kernel-6.19.patch";
- hash = "sha256-YuJjSUXE6jYSuZySYGnWSNG5sfVei7vvxDcHx3K+IN4=";
- })
- ];
- });
- };
+ package = config.boot.kernelPackages.nvidiaPackages.latest;
};
unfreePackages = [
"nvidia-x11"