fix(email-options): fix incorrect option type

This commit is contained in:
2025-09-16 19:41:04 +03:00
parent 111cf30542
commit 46af6890e1

View File

@@ -203,7 +203,7 @@ with lib;
}; };
systemdTargets = mkOption { systemdTargets = mkOption {
type = types.listOf (types.strMatchig "[a-zA-Z0-9@%:_.\-]+[.](service|socket|device|mount|automount|swap|target|path|timer|scope|slice)"); type = with types; listOf strMatching "[a-zA-Z0-9@%:_.\-]+[.](service|socket|device|mount|automount|swap|target|path|timer|scope|slice)";
default = []; default = [];
example = [ "generate-mastodon-email-password.service" ]; example = [ "generate-mastodon-email-password.service" ];
description = "Systemd target which generates password file."; description = "Systemd target which generates password file.";