Use nvidia nonprime nixos-hardware module

This commit is contained in:
GHOSCHT 2024-11-03 17:01:38 +01:00
parent 0398153793
commit f72d3e6f59
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -12,8 +12,8 @@
# outputs.nixosModules.example # outputs.nixosModules.example
# Or modules from other flakes (such as nixos-hardware): # Or modules from other flakes (such as nixos-hardware):
inputs.hardware.nixosModules.common-cpu-amd inputs.hardware.nixosModules.common-cpu-amd-pstate
inputs.hardware.nixosModules.common-gpu-nvidia inputs.hardware.nixosModules.common-gpu-nvidia-nonprime
inputs.hardware.nixosModules.common-pc-ssd inputs.hardware.nixosModules.common-pc-ssd
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
@ -80,7 +80,7 @@
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;
# Force disable Nvidia PRIME, needed by nix-hardware # Force disable Nvidia PRIME, needed by nix-hardware
hardware.nvidia.prime.offload.enable = false; # hardware.nvidia.prime.offload.enable = false;
programs.coolercontrol = { programs.coolercontrol = {
enable = true; enable = true;