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.

23 lines
345 B

1 week ago
2 days ago
2 days ago
1 week ago
  1. { config, ... }:
  2. {
  3. hardware = {
  4. graphics = {
  5. enable = true;
  6. enable32Bit = true;
  7. };
  8. nvidia = {
  9. open = true;
  10. modesetting.enable = true;
  11. powerManagement.enable = false;
  12. package = config.boot.kernelPackages.nvidiaPackages.stable;
  13. };
  14. };
  15. services.xserver.videoDrivers = [ "nvidia" ];
  16. }