diff --git a/modules/nvidia/default.nix b/modules/nvidia/default.nix index 4ff0f03e..d674b07a 100644 --- a/modules/nvidia/default.nix +++ b/modules/nvidia/default.nix @@ -8,8 +8,10 @@ let config = { allowUnfree = true; cudaSupport = true; }; }; - # packages that should be built with CUDA support on NVIDIA systems cudaoverlay = (self: super: { + # access overlay by using pkgs.withCUDA. + inherit withCUDA; + # packages that should be built with CUDA support on NVIDIA systems inherit (withCUDA) nvtop ; @@ -49,7 +51,7 @@ in opengl = { enable = true; driSupport = true; - driSupport32Bit = mkIf config.virtualisation.docker.enable true; + driSupport32Bit = true; }; nvidia = {