treewide: add types to boolean / enable options or make use of mkEnableOption

This commit is contained in:
Dominik Xaver Hörl
2020-04-27 09:32:01 +02:00
parent 5e4abf76c7
commit c10d82358f
19 changed files with 31 additions and 31 deletions
+3 -12
View File
@@ -545,6 +545,7 @@ in
};
security.pam.enableSSHAgentAuth = mkOption {
type = types.bool;
default = false;
description =
''
@@ -555,12 +556,7 @@ in
'';
};
security.pam.enableOTPW = mkOption {
default = false;
description = ''
Enable the OTPW (one-time password) PAM module.
'';
};
security.pam.enableOTPW = mkEnableOption "the OTPW (one-time password) PAM module";
security.pam.u2f = {
enable = mkOption {
@@ -719,12 +715,7 @@ in
};
};
security.pam.enableEcryptfs = mkOption {
default = false;
description = ''
Enable eCryptfs PAM module (mounting ecryptfs home directory on login).
'';
};
security.pam.enableEcryptfs = mkEnableOption "eCryptfs PAM module (mounting ecryptfs home directory on login)";
users.motd = mkOption {
default = null;