Merge pull request #1167 from grwlf/serverflags

Add serverFlagsSection option to the xserver config
This commit is contained in:
Michael Raskin 2013-11-07 03:00:37 -08:00
commit e8b347e6ae

View File

@ -343,6 +343,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 {
type = types.lines;
default = "";
@ -586,6 +598,7 @@ in
''
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
${cfg.serverFlagsSection}
EndSection
Section "Module"