Moved the nvidia fix into nvidia
This commit is contained in:
@@ -9,13 +9,6 @@
|
||||
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
|
||||
'';
|
||||
|
||||
|
||||
# Automaticaly mount C drive
|
||||
fileSystems."/mnt/c" = {
|
||||
device = "/dev/nvme1n1p4";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user