Add serverFlagsSection parameter to the xserver config
This commit is contained in:
parent
04fc38d233
commit
99914f8581
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user