diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index bd553409cff6..248f45584e9b 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -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."; }; };