NixOS deployment for LinuxLab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
306 B

2 weeks ago
2 weeks ago
  1. { config, ... }:
  2. {
  3. hardware.opengl = {
  4. enable = true;
  5. driSupport32Bit = true;
  6. };
  7. hardware.nvidia = {
  8. modesetting.enable = true;
  9. powerManagement.enable = false;
  10. package = config.boot.kernelPackages.nvidiaPackages.stable;
  11. };
  12. services.xserver.videoDrivers = [ "nvidia" ];
  13. }