xserver service: fix formatting of example

This commit is contained in:
Leroy Hopson 2015-07-04 18:52:50 +12:00
parent 25fd9e31a2
commit c1e674c4ca

View File

@ -156,13 +156,16 @@ in
inputClassSections = mkOption { inputClassSections = mkOption {
type = types.listOf types.lines; type = types.listOf types.lines;
default = []; default = [];
example = [ '' example = literalExample ''
Identifier "Trackpoint Wheel Emulation" [ '''
MatchProduct "ThinkPad USB Keyboard with TrackPoint" Identifier "Trackpoint Wheel Emulation"
Option "EmulateWheel" "true MatchProduct "ThinkPad USB Keyboard with TrackPoint"
Option "EmulateWheelButton" "2" Option "EmulateWheel" "true
Option "Emulate3Buttons" "false" Option "EmulateWheelButton" "2"
'' ]; Option "Emulate3Buttons" "false"
'''
]
'';
description = "Content of additional InputClass sections of the X server configuration file."; description = "Content of additional InputClass sections of the X server configuration file.";
}; };