Skip to content

Commit

Permalink
Format using Alejandra
Browse files Browse the repository at this point in the history
  • Loading branch information
foofrog authored and github-actions[bot] committed Jun 29, 2024
1 parent 5bf7e4c commit 5181fff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/foundations/graphics/nvidia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@

hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.beta;

modesetting.enable = true; # Required

powerManagement = {
/*
NOTE:
Experimental and can cause sleep/suspend to fail
Enable this if you have graphical corruption issues or application crashes after waking up from sleep
This fixes it by saving the entire VRAM memory to `/tmp/` instead of just the bare essentials
*/
Expand All @@ -29,7 +29,7 @@
# NOTE: Experimental and only works on modern Nvidia GPUs (Turing or newer)
finegrained = false; # Turns off GPU when not in use
};

# Enable the Nvidia settings menu
nvidiaSettings = true; # Accessible via `nvidia-settings` command
open = true;
Expand Down

0 comments on commit 5181fff

Please sign in to comment.