upgrade to 24.11
All checks were successful
Nix Format Check / check-format (push) Successful in 38s

This commit is contained in:
2024-11-29 18:02:30 +01:00
parent 2cd1c77d60
commit 2c0e3c746b
19 changed files with 67 additions and 130 deletions

View File

@ -17,19 +17,16 @@
boot.loader.efi.canTouchEfiVariables = true;
# Enable Vulkan support for AMD graphics cards
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ amdvlk ];
hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ amdvlk ];
# Enable OpenGL
hardware.opengl = {
hardware.graphics = {
enable = true;
driSupport = true;
driSupport32Bit = true;
# Enable the latest AMDGPU drivers
extraPackages = with pkgs; [
amdvlk
rocm-opencl-icd
rocm-opencl-runtime
rocmPackages.clr
];
};

View File

@ -14,7 +14,7 @@
boot.loader.efi.canTouchEfiVariables = true;
# Enable OpenGL
hardware.opengl.enable = true;
hardware.graphics.enable = true;
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "nvidia" ];

View File

@ -24,12 +24,8 @@
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "nvidia" ];
# Enable opengl and 32-bit support
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
# Enable OpenGL
hardware.graphics.enable = true;
# nvtop, a system monitor for GPUs
environment.systemPackages = with pkgs; [ nvtopPackages.nvidia ];