mimir: NVIDIA tweaks

This commit is contained in:
Erwin Boskma 2024-05-17 22:27:46 +02:00
parent f268b9d170
commit 2396af5c51
Signed by: erwin
SSH key fingerprint: SHA256:3F6Cm6I3erRqlBwEghZWAQl6eS5WrGTX1Vs/Evec1lQ

View file

@ -121,13 +121,16 @@
enableAllFirmware = true;
nvidia = {
modesetting.enable = true;
powerManagement.enable = true;
# forceFullCompositionPipeline = true;
powerManagement.enable = true; # Needed to make hibernate work properly
forceFullCompositionPipeline = true;
};
opengl = {
driSupport32Bit = true;
extraPackages = with pkgs; [ vaapiVdpau ];
extraPackages = with pkgs; [
vaapiVdpau
vulkan-validation-layers
];
};
};
@ -150,7 +153,7 @@
"apple-mfi-fastcharge"
"zenpower"
];
# boot.kernelParams = [ "amd_pstate.shared_mem=1" ];
kernelParams = [ "nvidia_drm.fbdev=1" ];
extraModulePackages = with config.boot.kernelPackages; [
zenpower
cpupower