diff options
author | Leroy Hopson <git@leroy.geek.nz> | 2015-07-04 18:52:50 +1200 |
---|---|---|
committer | Leroy Hopson <git@leroy.geek.nz> | 2016-02-27 22:25:40 +1300 |
commit | c1e674c4ca28a4f8871a57efa0dde36852e51cbb (patch) | |
tree | def87239f80bc5c3fb121283eb01b730e4b08984 /nixos/modules/services/x11/xserver.nix | |
parent | 25fd9e31a2bbbc2f907e1cae466fec347fce0f34 (diff) | |
download | nixlib-c1e674c4ca28a4f8871a57efa0dde36852e51cbb.tar nixlib-c1e674c4ca28a4f8871a57efa0dde36852e51cbb.tar.gz nixlib-c1e674c4ca28a4f8871a57efa0dde36852e51cbb.tar.bz2 nixlib-c1e674c4ca28a4f8871a57efa0dde36852e51cbb.tar.lz nixlib-c1e674c4ca28a4f8871a57efa0dde36852e51cbb.tar.xz nixlib-c1e674c4ca28a4f8871a57efa0dde36852e51cbb.tar.zst nixlib-c1e674c4ca28a4f8871a57efa0dde36852e51cbb.zip |
xserver service: fix formatting of example
Diffstat (limited to 'nixos/modules/services/x11/xserver.nix')
-rw-r--r-- | nixos/modules/services/x11/xserver.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index 653c97d7e6fa..cfe5e7f960c7 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -156,13 +156,16 @@ in inputClassSections = mkOption { type = types.listOf types.lines; default = []; - example = [ '' - Identifier "Trackpoint Wheel Emulation" - MatchProduct "ThinkPad USB Keyboard with TrackPoint" - Option "EmulateWheel" "true - Option "EmulateWheelButton" "2" - Option "Emulate3Buttons" "false" - '' ]; + example = literalExample '' + [ ''' + Identifier "Trackpoint Wheel Emulation" + MatchProduct "ThinkPad USB Keyboard with TrackPoint" + Option "EmulateWheel" "true + Option "EmulateWheelButton" "2" + Option "Emulate3Buttons" "false" + ''' + ] + ''; description = "Content of additional InputClass sections of the X server configuration file."; }; |