fix: move hardware.nvidia.open down a level so it works

This commit is contained in:
Ahwx 2025-04-24 16:40:11 +02:00
parent 12efbc7bf2
commit 22d4694bbd

View file

@ -16,15 +16,15 @@ in
config = mkIf cfg.enable {
hardware = {
enableRedistributableFirmware = true;
nvidia.open = false; # Set to false/true for proprietary/open drivers
graphics = {
enable = true;
nvidia.open = false; # Set to false/true for proprietary/open drivers
extraPackages = with pkgs; [
# amdvlk
# amdvlk would be the package that would be required for AMD on desktop, since none of the hosts use NVIDIA as a desktop GPU, this is open and uncertain.
];
# For 32 bit applications as well
extraPackages32 = with pkgs; [
# driversi686Linux.amdvlk
# driversi686Linux.amdvlk would be the package that would be required for AMD on desktop, since none of the hosts use NVIDIA as a desktop GPU, this is open and uncertain.
];
};
};