nixos: Minor tweaks

This commit is contained in:
2022-05-28 13:57:01 +01:00
parent 4abfe4eaef
commit dc69948112
4 changed files with 36 additions and 21 deletions

View File

@@ -10,7 +10,7 @@ in
{
options.my.dynamic-motd = with lib.types; {
enable = mkBoolOpt' true "Whether to enable the dynamic message of the day PAM module.";
services = mkOpt' (listOf str) [ "login" "ssh" ] "PAM services to enable the dynamic message of the day module for.";
services = mkOpt' (listOf str) [ "login" "sshd" ] "PAM services to enable the dynamic message of the day module for.";
script = mkOpt' (nullOr lines) null "Script that generates message of the day.";
};