File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -268,30 +268,7 @@ in {
268
268
269
269
nvidia = if cfg . videoDriver == "nvidia"
270
270
then {
271
- package =
272
- # composed from https://github.com/NixOS/nixpkgs/tree/d08d996a529a4b0102dd61c17853915a6f32ebce/pkgs/os-specific/linux/nvidia-x11
273
- let
274
- rcu_patch = pkgs . fetchpatch {
275
- url = "https://github.com/gentoo/gentoo/raw/c64caf53/x11-drivers/nvidia-drivers/files/nvidia-drivers-470.223.02-gpl-pfn_valid.patch" ;
276
- hash = "sha256-eZiQQp2S/asE7MfGvfe6dA/kdCvek9SYa/FFGp24dVg=" ;
277
- } ;
278
- locked = import <nixpkgs/pkgs/os-specific/linux/nvidia-x11/generic.nix> {
279
- version = "545.29.02" ;
280
- sha256_64bit = "sha256-RncPlaSjhvBFUCOzWdXSE3PAfRPCIrWAXyJMdLPKuIU=" ;
281
- openSha256 = "sha256-PukpOBtG5KvZKWYfJHVQO6SuToJUd/rkjpOlEi8pSmk=" ;
282
- settingsSha256 = "sha256-zj173HCZJaxAbVV/A2sbJ9IPdT1+3yrwyxD+AQdkSD8=" ;
283
- persistencedSha256 = "sha256-mmMi2pfwzI1WYOffMVdD0N1HfbswTGg7o57x9/IiyVU=" ;
284
-
285
- patches = [ rcu_patch ] ;
286
- } ;
287
- in
288
- pkgs . callPackage locked {
289
- lib32 = ( pkgs . pkgsi686Linux . callPackage locked {
290
- libsOnly = true ;
291
- kernel = null ;
292
- } ) . out ;
293
- kernel = config . boot . kernelPackages . kernel ;
294
- } ;
271
+ package = config . boot . kernelPackages . nvidiaPackages . production ;
295
272
modesetting . enable = true ;
296
273
open = false ;
297
274
}
You can’t perform that action at this time.
0 commit comments