Add lots of missing option types

This commit is contained in:
Eelco Dolstra
2013-10-30 18:47:43 +01:00
parent d882e19662
commit 408b8b5725
67 changed files with 320 additions and 154 deletions
+2
View File
@@ -11,6 +11,7 @@ with pkgs.lib;
services.mingetty = {
greetingLine = mkOption {
type = types.str;
default = ''<<< Welcome to NixOS ${config.system.nixosVersion} (\m) - \l >>>'';
description = ''
Welcome line printed by mingetty.
@@ -18,6 +19,7 @@ with pkgs.lib;
};
helpLine = mkOption {
type = types.lines;
default = "";
description = ''
Help line printed by mingetty below the welcome line.
+2
View File
@@ -17,6 +17,7 @@ in
services.gpm = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable GPM, the General Purpose Mouse daemon,
@@ -25,6 +26,7 @@ in
};
protocol = mkOption {
type = types.str;
default = "ps/2";
description = "Mouse protocol to use.";
};