diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-11 16:33:35 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-11 16:33:35 +0530 |
| commit | f6e4bf8a2e28c08618e9a368f2b3eccdb7397ced (patch) | |
| tree | 5a85a33c7550908d77869d65a29afef1b42ac6ca /modules/nvidia.nix | |
| parent | f48007d6499add3da5558e8c271b568f67a0104f (diff) | |
update
Diffstat (limited to '')
| -rw-r--r-- | modules/nvidia.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/modules/nvidia.nix b/modules/nvidia.nix index d79f2bb..16966e0 100644 --- a/modules/nvidia.nix +++ b/modules/nvidia.nix @@ -1,20 +1,14 @@ { pkgs, config, ... }: { - hardware.opengl = { - enable = true; - driSupport = true; - driSupport32Bit = true; - }; - services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = { modesetting.enable = true; - powerManagement.enable = false; + powerManagement.enable = true; powerManagement.finegrained = false; open = false; - nvidiaSettings = false; + nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable; prime = { @@ -22,7 +16,7 @@ enable = true; enableOffloadCmd = true; }; - amdgpuBusId = "PCI:0:2:0"; + amdgpuBusId = "PCI:5:0:0"; nvidiaBusId = "PCI:1:0:0"; }; }; |
