summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/desktop.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/desktop.nix b/modules/desktop.nix
index ec8101f..efbd4fc 100644
--- a/modules/desktop.nix
+++ b/modules/desktop.nix
@@ -9,4 +9,9 @@
phoronix-test-suite
];
+ # 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
+ '';
}