diff --git a/third_party/nixpkgs/patches/nvidia-sideband-socket.patch b/third_party/nixpkgs/patches/nvidia-sideband-socket.patch deleted file mode 100644 index 5c15faf6bf..0000000000 --- a/third_party/nixpkgs/patches/nvidia-sideband-socket.patch +++ /dev/null @@ -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 ]; - diff --git a/third_party/nixpkgs/patches/series b/third_party/nixpkgs/patches/series index d5be45e01c..e69de29bb2 100644 --- a/third_party/nixpkgs/patches/series +++ b/third_party/nixpkgs/patches/series @@ -1 +0,0 @@ -nvidia-sideband-socket.patch