From f6e600c20d6a97ebeda23fa2bb5621646222b2b0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jan 2021 20:53:17 +0100 Subject: sif: import config --- overlays/nvidia-kernel-5.7.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 overlays/nvidia-kernel-5.7.nix (limited to 'overlays') diff --git a/overlays/nvidia-kernel-5.7.nix b/overlays/nvidia-kernel-5.7.nix new file mode 100644 index 00000000..92d3abb3 --- /dev/null +++ b/overlays/nvidia-kernel-5.7.nix @@ -0,0 +1,19 @@ +final: prev: { + linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: { + nvidiaPackages = super.nvidiaPackages // { + stable = super.nvidiaPackages.stable.overrideAttrs (attrs: { + patches = [ + (prev.fetchpatch { + name = "nvidia-kernel-5.7.patch"; + url = "https://gitlab.com/snippets/1965550/raw"; + sha256 = "03iwxhkajk65phc0h5j7v4gr4fjj6mhxdn04pa57am5qax8i2g9w"; + }) + ]; + + passthru = { + inherit (super.nvidiaPackages.stable) settings persistenced persistencedVersion settingsVersion; + }; + }); + }; + }); +} -- cgit v1.2.3