git.iko.soy/typeable/nixpkgs
on master help sign in
xserver service: fix formatting of example
commitc1e674c4ca28a4f8871a57efa0dde36852e51cbb authorLeroy Hopson <git@leroy.geek.nz> dateSat 4 Jul 2015, 18:52 (11 years ago) parent25fd9e3
1 file changed+10−7
nixos/modules/services/x11/xserver.nix+10−7
nixos/modules/services/x11/xserver.nix+10−7
@@ -156,13 +156,16 @@ in
156156 inputClassSections = mkOption {
157157 type = types.listOf types.lines;
158158 default = [];
159− example = [ ''
160− Identifier "Trackpoint Wheel Emulation"
161− MatchProduct "ThinkPad USB Keyboard with TrackPoint"
162− Option "EmulateWheel" "true
163− Option "EmulateWheelButton" "2"
164− Option "Emulate3Buttons" "false"
165− '' ];
159+ example = literalExample ''
160+ [ '''
161+ Identifier "Trackpoint Wheel Emulation"
162+ MatchProduct "ThinkPad USB Keyboard with TrackPoint"
163+ Option "EmulateWheel" "true
164+ Option "EmulateWheelButton" "2"
165+ Option "Emulate3Buttons" "false"
166+ '''
167+ ]
168+ '';
166169 description = "Content of additional InputClass sections of the X server configuration file.";
167170 };
168171