Browse Source

Add NVIDIA opengl support

main
parent
commit
d2719f81b1
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 14
      README.org
  2. 14
      modules/nvidia.nix

14
README.org

@ -1219,6 +1219,20 @@ in {
intelBusId = myIntelBusId; intelBusId = myIntelBusId;
nvidiaBusId = myNvidiaBusId; nvidiaBusId = myNvidiaBusId;
}; };
# Add OpenGL support.
hardware.opengl = {
enable = true;
driSupport32Bit = true;
extraPackages32 = with pkgs; [
pkgsi686Linux.libva
];
};
# Add user to video group.
users.users.chris = {
extraGroups = [ "video" ];
};
} }
#+END_SRC #+END_SRC

14
modules/nvidia.nix

@ -37,4 +37,18 @@ in {
intelBusId = myIntelBusId; intelBusId = myIntelBusId;
nvidiaBusId = myNvidiaBusId; nvidiaBusId = myNvidiaBusId;
}; };
# Add OpenGL support.
hardware.opengl = {
enable = true;
driSupport32Bit = true;
extraPackages32 = with pkgs; [
pkgsi686Linux.libva
];
};
# Add user to video group.
users.users.chris = {
extraGroups = [ "video" ];
};
} }
Loading…
Cancel
Save