summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/ttys/gpm.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 17:37:45 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 18:47:43 +0100
commit408b8b5725c3e6fff75aef772da248d3e95ff414 (patch)
tree692e3b61dbbff85cc97e3becf13a1376dea04a92 /nixos/modules/services/ttys/gpm.nix
parentd882e1966251880240599d3c1b31e060661506ee (diff)
Add lots of missing option types
Diffstat (limited to 'nixos/modules/services/ttys/gpm.nix')
-rw-r--r--nixos/modules/services/ttys/gpm.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/ttys/gpm.nix b/nixos/modules/services/ttys/gpm.nix
index 6a425cf327f4..74cee67aeae9 100644
--- a/nixos/modules/services/ttys/gpm.nix
+++ b/nixos/modules/services/ttys/gpm.nix
@@ -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.";
};