Strictly check the arguments to mkOption

And fix various instances of bad arguments.
This commit is contained in:
Eelco Dolstra
2013-10-30 15:35:09 +01:00
parent db2a9afb75
commit 70a2c54527
9 changed files with 45 additions and 39 deletions
@@ -102,7 +102,7 @@ in
permitRootLogin = mkOption {
default = "without-password";
check = permitRootLoginCheck;
type = types.addCheck types.str permitRootLoginCheck;
description = ''
Whether the root user can login using ssh. Valid values are
<literal>yes</literal>, <literal>without-password</literal>,