add 32bit libraries for nvidia

This commit is contained in:
Menno van Leeuwen 2024-11-15 22:24:09 +01:00
parent 7fb331c404
commit 9e38b4f794
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -17,19 +17,18 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Enable OpenGL
hardware.opengl.enable = true;
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "nvidia" ];
# Add nvidia support to docker
virtualisation = {
docker = {
enableNvidia = true;
};
# Enable oepngl and 32-bit support
hardware.opengl = {
driSupport32Bit = true;
enable = true;
};
# Enable NVIDIA Docker support
virtualisation.docker.enableNvidia = true;
hardware.nvidia = {
# Modesetting is required.
modesetting.enable = true;