Skip to content

Commit

Permalink
Enable openGL
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Jan 27, 2025
1 parent bd7c686 commit b2540eb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions hosts/hyperion/hardware/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@
];

# See: https://github.com/NixOS/nixos-hardware/issues/348#issuecomment-997123102
hardware.nvidia = {
open = true;
powerManagement.enable = true;
nvidiaPersistenced = true;
hardware = {
graphics.enable = true;
nvidia = {
open = true;
powerManagement.enable = true;
nvidiaPersistenced = true;
};
};

services.xserver.videoDrivers = [ "libcuda" ];
Expand Down

0 comments on commit b2540eb

Please sign in to comment.