summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-05-25 19:53:07 +0300
committerKyren223 <Kyren223@proton.me>2025-05-25 19:53:07 +0300
commit90c63def40f1cf89b106448a80997834d44c56a0 (patch)
tree3b07bb94c7d7bb47387b7986f44a81243c22284c /modules
parentab35a197487fc7a0cdc8231d6ed7b3ab29ca0ca9 (diff)
Fixed graphics reset issue due to nvidia GPU
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
+ '';
}