diff options
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/nvidia-kernel-5.7.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ | |||
1 | final: prev: { | ||
2 | linuxPackages_latest = prev.linuxPackages_latest.extend (self: super: { | ||
3 | nvidiaPackages = super.nvidiaPackages // { | ||
4 | stable = super.nvidiaPackages.stable.overrideAttrs (attrs: { | ||
5 | patches = [ | ||
6 | (prev.fetchpatch { | ||
7 | name = "nvidia-kernel-5.7.patch"; | ||
8 | url = "https://gitlab.com/snippets/1965550/raw"; | ||
9 | sha256 = "03iwxhkajk65phc0h5j7v4gr4fjj6mhxdn04pa57am5qax8i2g9w"; | ||
10 | }) | ||
11 | ]; | ||
12 | |||
13 | passthru = { | ||
14 | inherit (super.nvidiaPackages.stable) settings persistenced persistencedVersion settingsVersion; | ||
15 | }; | ||
16 | }); | ||
17 | }; | ||
18 | }); | ||
19 | } | ||