Add serverFlagsSection parameter to the xserver config

This commit is contained in:
Sergey Mironov 2013-11-04 18:45:05 +04:00
parent 04fc38d233
commit 99914f8581

View File

@ -333,6 +333,18 @@ in
''; '';
}; };
serverFlagsSection = mkOption {
default = "";
example =
''
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
'';
description = "Contents of the ServerFlags section of the X server configuration file.";
};
moduleSection = mkOption { moduleSection = mkOption {
default = ""; default = "";
example = example =
@ -568,6 +580,7 @@ in
'' ''
Section "ServerFlags" Section "ServerFlags"
Option "AllowMouseOpenFail" "on" Option "AllowMouseOpenFail" "on"
${cfg.serverFlagsSection}
EndSection EndSection
Section "Module" Section "Module"