Use nvidia nonprime nixos-hardware module
This commit is contained in:
parent
0398153793
commit
f72d3e6f59
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue