open nvidia driver

This commit is contained in:
Noa Aarts 2024-04-29 23:06:02 +02:00
parent 8abdc7eaaf
commit e1824a74b5
2 changed files with 22 additions and 23 deletions

View file

@ -34,27 +34,4 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.opengl = {
enable = true;
driSupport = true;
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
modesetting.enable = true;
# NOTE change this if borked
powerManagement = {
enable = false;
finegrained = false;
};
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
}