3
0
Fork 0
forked from mirrors/nixpkgs

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 = {
services.kmscon = {
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;
default = false;
};
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;
default = false;
};
extraConfig = mkOption {
description = "Extra contents of the kmscon.conf file";
description = "Extra contents of the kmscon.conf file.";
type = types.lines;
default = "";
example = "font-size=14";

View file

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