diff options
Diffstat (limited to 'sif.nix')
-rw-r--r-- | sif.nix | 26 |
1 files changed, 11 insertions, 15 deletions
@@ -121,21 +121,17 @@ | |||
121 | }; | 121 | }; |
122 | }; | 122 | }; |
123 | 123 | ||
124 | nixpkgs.overlays = [ | 124 | boot.kernelPackages = pkgs.linuxPackages_latest.extend (self: super: { |
125 | (self: super: { | 125 | nvidia_x11 = super.nvidia_x11.overrideAttrs (attrs: { |
126 | linuxPackages_latest = super.linuxPackages_latest.extend (self: super: { | 126 | patches = [ |
127 | nvidia_x11 = super.nvidia_x11.overrideAttrs (attrs: { | 127 | (pkgs.fetchpatch { |
128 | patches = [ | 128 | name = "nvidia-kernel-5.7.patch"; |
129 | (pkgs.fetchpatch { | 129 | url = "https://gitlab.com/snippets/1965550/raw"; |
130 | name = "nvidia-kernel-5.7.patch"; | 130 | sha256 = "03iwxhkajk65phc0h5j7v4gr4fjj6mhxdn04pa57am5qax8i2g9w"; |
131 | url = "https://gitlab.com/snippets/1965550/raw"; | 131 | }) |
132 | sha256 = "03iwxhkajk65phc0h5j7v4gr4fjj6mhxdn04pa57am5qax8i2g9w"; | 132 | ]; |
133 | }) | 133 | }); |
134 | ]; | 134 | }); |
135 | }); | ||
136 | }); | ||
137 | }) | ||
138 | ]; | ||
139 | 135 | ||
140 | services = { | 136 | services = { |
141 | pcscd.enable = true; | 137 | pcscd.enable = true; |