NixOS 20.09: nvidia offload mode not downloading 32bit drivers


I’ve tried to play 32 bit games on a nixos 20.09 system with no luck, the problem seems to reside on hardware.opengl.driSupport32Bit = true not downloading 32 bit version of the nvidia driver as the intel one actually run the game.

Expected behaviour

hardware.opengl.driSupport32Bit = true downloads 32 bit nvidia drivers on offload mode


NixOS 20.09


{ config, pkgs, ... }:

  nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" ''
    export __GLX_VENDOR_LIBRARY_NAME=nvidia
    export __VK_LAYER_NV_optimus=NVIDIA_only
    exec -a "$0" "$@"
nixpkgs.config.allowUnfree = true;
hardware.opengl.driSupport32Bit = true; = true; = {
    # Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
    intelBusId = "PCI:0:2:0";
    # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA
    nvidiaBusId = "PCI:1:0:0";


This isn’t an issue of the nvidia not being able to run the game as on other distros it actually can, so I assume the issue resides on not having 32 bit support.
I would open an issue on github but my knowledge of how nixos operates on the inside is very limited.

Thanks in advance for the help.