try to fix modesetting
This commit is contained in:
parent
5a36dbc083
commit
769e1c166a
@ -16,7 +16,12 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
# Enable NVIDIA driver for X11 and Wayland
|
||||
services.xserver.videoDrivers = [ "amdgpu" "nvidia" ];
|
||||
# without modesetting, x server will be run by nvidia
|
||||
services.xserver.videoDrivers = [
|
||||
"amdgpu"
|
||||
"modesetting"
|
||||
"nvidia"
|
||||
];
|
||||
|
||||
# Enable OpenGL
|
||||
hardware.graphics = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user