3p/nixpkgs: drop nvidia-sideband-socket.patch.
This commit is contained in:
parent
3a4df29a92
commit
cd991f4f6e
2 changed files with 0 additions and 23 deletions
|
@ -1,22 +0,0 @@
|
||||||
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
|
|
||||||
--- a/nixos/modules/hardware/video/nvidia.nix
|
|
||||||
+++ b/nixos/modules/hardware/video/nvidia.nix
|
|
||||||
@@ -260,6 +260,7 @@ in
|
|
||||||
BusID "${pCfg.nvidiaBusId}"
|
|
||||||
${optionalString syncCfg.allowExternalGpu "Option \"AllowExternalGpus\""}
|
|
||||||
${optionalString cfg.powerManagement.finegrained "Option \"NVreg_DynamicPowerManagement=0x02\""}
|
|
||||||
+ Option "SidebandSocketPath" "/run/nvidia-xdriver"
|
|
||||||
'';
|
|
||||||
screenSection =
|
|
||||||
''
|
|
||||||
@@ -340,7 +341,9 @@ in
|
|
||||||
systemd.tmpfiles.rules = optional config.virtualisation.docker.enableNvidia
|
|
||||||
"L+ /run/nvidia-docker/bin - - - - ${nvidia_x11.bin}/origBin"
|
|
||||||
++ optional (nvidia_x11.persistenced != null && config.virtualisation.docker.enableNvidia)
|
|
||||||
- "L+ /run/nvidia-docker/extras/bin/nvidia-persistenced - - - - ${nvidia_x11.persistenced}/origBin/nvidia-persistenced";
|
|
||||||
+ "L+ /run/nvidia-docker/extras/bin/nvidia-persistenced - - - - ${nvidia_x11.persistenced}/origBin/nvidia-persistenced"
|
|
||||||
+ ++ optional primeEnabled
|
|
||||||
+ "d /run/nvidia-xdriver 0770 root video";
|
|
||||||
|
|
||||||
boot.extraModulePackages = [ nvidia_x11.bin ];
|
|
||||||
|
|
1
third_party/nixpkgs/patches/series
vendored
1
third_party/nixpkgs/patches/series
vendored
|
@ -1 +0,0 @@
|
||||||
nvidia-sideband-socket.patch
|
|
Loading…
Reference in a new issue