modified: configuration.nix
This commit is contained in:
parent
ee289d87df
commit
57642b2257
1 changed files with 1 additions and 2 deletions
|
|
@ -713,8 +713,7 @@ in
|
||||||
'' else "";
|
'' else "";
|
||||||
boot.kernelParams = lib.optionals isNvidia [ "nvidia-drm.modeset=1" ]
|
boot.kernelParams = lib.optionals isNvidia [ "nvidia-drm.modeset=1" ]
|
||||||
++ lib.optionals isAdata [ "nvme_core.default_ps_max_latency_us=0" "nvme_core.io_timeout=4294967295" ];
|
++ lib.optionals isAdata [ "nvme_core.default_ps_max_latency_us=0" "nvme_core.io_timeout=4294967295" ];
|
||||||
boot.blacklistedKernelModules = if isNvidia then [ "nouveau" ] else [ ];
|
boot.blacklistedKernelModules = lib.optionals isNvidia then [ "nouveau" ];
|
||||||
boot.blacklistedKernelModules = if isNvidia then [ "nouveau" ] else [ ];
|
|
||||||
boot.extraModprobeConfig =
|
boot.extraModprobeConfig =
|
||||||
if isNvidia then
|
if isNvidia then
|
||||||
"options nvidia "
|
"options nvidia "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue