more nvidia shit

This commit is contained in:
cnst
2024-09-22 17:37:50 +02:00
parent cbdd9dab74
commit 07624dc440
2 changed files with 9 additions and 5 deletions

View File

@@ -56,6 +56,8 @@ in {
++ (
if cfg.hardware == "amd"
then ["amd_pstate=active"]
else if cfg.hardware == "nvidia"
then ["nvidia-drm.modeset=1" "nvidia-drm.fbdev=1"]
else []
)
++ cfg.extraKernelParams;