xserver service: fix formatting of example

This commit is contained in:
Leroy Hopson
2016-02-27 22:25:40 +13:00
parent 25fd9e31a2
commit c1e674c4ca
+10 -7
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.";
}; };