mimir: NVIDIA tweaks
This commit is contained in:
parent
f268b9d170
commit
2396af5c51
1 changed files with 7 additions and 4 deletions
|
@ -121,13 +121,16 @@
|
||||||
enableAllFirmware = true;
|
enableAllFirmware = true;
|
||||||
nvidia = {
|
nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true; # Needed to make hibernate work properly
|
||||||
# forceFullCompositionPipeline = true;
|
forceFullCompositionPipeline = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
opengl = {
|
opengl = {
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
extraPackages = with pkgs; [ vaapiVdpau ];
|
extraPackages = with pkgs; [
|
||||||
|
vaapiVdpau
|
||||||
|
vulkan-validation-layers
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -150,7 +153,7 @@
|
||||||
"apple-mfi-fastcharge"
|
"apple-mfi-fastcharge"
|
||||||
"zenpower"
|
"zenpower"
|
||||||
];
|
];
|
||||||
# boot.kernelParams = [ "amd_pstate.shared_mem=1" ];
|
kernelParams = [ "nvidia_drm.fbdev=1" ];
|
||||||
extraModulePackages = with config.boot.kernelPackages; [
|
extraModulePackages = with config.boot.kernelPackages; [
|
||||||
zenpower
|
zenpower
|
||||||
cpupower
|
cpupower
|
||||||
|
|
Loading…
Reference in a new issue