NVIDIA GPU somewhat working
This commit is contained in:
parent
ec949e253a
commit
5f4cd68802
@ -24,6 +24,15 @@
|
|||||||
# fix backlight
|
# fix backlight
|
||||||
boot.kernelParams = [ "amdgpu.backlight=0" ];
|
boot.kernelParams = [ "amdgpu.backlight=0" ];
|
||||||
|
|
||||||
|
# gpu
|
||||||
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
hardware.nvidia.modesetting.enable = true;
|
||||||
|
hardware.nvidia.prime = {
|
||||||
|
sync.enable = true;
|
||||||
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
amdgpuBusId = "PCI:4:0:0";
|
||||||
|
};
|
||||||
|
|
||||||
services.zerotierone.enable = true;
|
services.zerotierone.enable = true;
|
||||||
|
|
||||||
de.enable = true;
|
de.enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user