blob: efbd4fc2eb3b80b33dfd3c14bf3f52ebc0c4153e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ pkgs, ... }: {
imports = [
./nvidia.nix
];
environment.systemPackages = with pkgs; [
openrgb-with-all-plugins
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
'';
}
|