mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 09:10:08 +00:00
modules/nvidia: Clean and fix NVIDIA module parameters example (#554389)
This commit is contained in:
@@ -386,14 +386,12 @@ in
|
||||
moduleParams = lib.mkOption {
|
||||
type = lib.types.attrsOf (lib.types.attrsOf lib.types.raw);
|
||||
default = { };
|
||||
example = ''
|
||||
{
|
||||
nvidia = {
|
||||
NVreg_UsePageAttributeTable = 1;
|
||||
NVreg_RegistryDwords = "EnableBrightnessControl=1"
|
||||
};
|
||||
}
|
||||
'';
|
||||
example = {
|
||||
nvidia = {
|
||||
NVreg_UsePageAttributeTable = 1;
|
||||
NVreg_RegistryDwords = "EnableBrightnessControl=1";
|
||||
};
|
||||
};
|
||||
description = "Additional parameters to pass to the NVIDIA kernel module.";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user