1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-02 11:03:33 +02:00

Updating NVidia config

This commit is contained in:
Alojzy Leszcz 2023-12-19 22:57:27 +01:00
parent e75ffe52dc
commit 4e33f477da

View File

@ -10,12 +10,14 @@
../../../../common/pc/laptop/ssd
];
services.xserver.videoDrivers = [ "nvidia" "amdgpu" ];
services.xserver.videoDrivers = [ "nvidia" ];
boot.initrd.kernelModules = [ "amdgpu" ];
hardware = {
nvidia = {
modesetting.enable = lib.mkDefault true;
powerManagement.enable = lib.mkDefault true;
open = lib.mkDefault false;
prime = {
amdgpuBusId = "PCI:5:0:0";