diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-06-20 14:09:35 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-06-20 14:09:35 +0300 |
| commit | a149cce0aff244cc4d9529ba7d89a9d201bb160b (patch) | |
| tree | 97eacb52a876659262417c84688b0aa2e62b781c /modules/nvidia.nix | |
| parent | 016a6dbb7b84639a326a6bc6896d1e3101ac39d7 (diff) | |
Moved the nvidia fix into nvidia
Diffstat (limited to 'modules/nvidia.nix')
| -rw-r--r-- | modules/nvidia.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/nvidia.nix b/modules/nvidia.nix index 9d052ad..0bc9b32 100644 --- a/modules/nvidia.nix +++ b/modules/nvidia.nix @@ -1,5 +1,11 @@ { config, ... }: { + # Fix "graphics reset" issue with nvidia GPU + # See section 10 of https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks + boot.extraModprobeConfig = '' + options nvidia NVreg_PreserveVideoMemoryAllocations=1 + ''; + # Enable OpenGL hardware.graphics = { enable = true; |
