From 90c63def40f1cf89b106448a80997834d44c56a0 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 25 May 2025 19:53:07 +0300 Subject: Fixed graphics reset issue due to nvidia GPU --- modules/desktop.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') 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 + ''; } -- cgit v1.3.1