feat(nvidia): patch for build failure no longer needed.

This commit is contained in:
CronyAkatsuki 2025-12-16 17:31:39 +01:00
parent 280a00a8a3
commit 304374218f

View file

@ -52,23 +52,6 @@
nvidiaSettings = true;
};
# Fix build failure
hardware.nvidia.package =
config.boot.kernelPackages.nvidiaPackages.stable
// {
open = config.boot.kernelPackages.nvidiaPackages.stable.open.overrideAttrs (old: {
patches =
(old.patches or [])
++ [
(pkgs.fetchpatch {
name = "get_dev_pagemap.patch";
url = "https://github.com/NVIDIA/open-gpu-kernel-modules/commit/3e230516034d29e84ca023fe95e284af5cd5a065.patch";
hash = "sha256-BhL4mtuY5W+eLofwhHVnZnVf0msDj7XBxskZi8e6/k8=";
})
];
});
};
# Enable networking
networking.networkmanager.enable = true;
networking.nameservers = ["192.168.0.5"];