Option description formatting

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-01-15 08:14:14 -05:00
parent 852c270035
commit 646af581f5
2 changed files with 10 additions and 4 deletions

View File

@ -9,19 +9,25 @@ in {
options = { options = {
services.kmscon = { services.kmscon = {
enable = mkOption { enable = mkOption {
description = "Use kmscon as the virtual console instead of gettys"; description = ''
Use kmscon as the virtual console instead of gettys.
kmscon is a kms/dri-based userspace virtual terminal implementation.
It supports a richer feature set than the standard linux console VT,
including full unicode support, and when the video card supports drm
should be much faster.
'';
type = types.bool; type = types.bool;
default = false; default = false;
}; };
hwRender = mkOption { hwRender = mkOption {
description = "Whether to use 3D hardware acceleration to render the console"; description = "Whether to use 3D hardware acceleration to render the console.";
type = types.bool; type = types.bool;
default = false; default = false;
}; };
extraConfig = mkOption { extraConfig = mkOption {
description = "Extra contents of the kmscon.conf file"; description = "Extra contents of the kmscon.conf file.";
type = types.lines; type = types.lines;
default = ""; default = "";
example = "font-size=14"; example = "font-size=14";

View File

@ -8,7 +8,7 @@ let
in { in {
options = { options = {
services.mesa.enable = mkOption { services.mesa.enable = mkOption {
description = "Whether this configuration requires mesa"; description = "Whether this configuration requires mesa.";
type = types.bool; type = types.bool;
default = false; default = false;
internal = true; internal = true;