gnu: fail2ban-service-type: Improve jail configuration serialization.

* gnu/services/security.scm (fail2ban-jail-configuration)
[name]: Should use empty-serializer.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
muradm 2022-08-29 16:51:19 +03:00 committed by Maxim Cournoyer
parent 80d9edb69d
commit 7686dd9676
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -194,7 +194,8 @@ (define-maybe fail2ban-jail-filter-configuration (prefix fail2ban-jail-configura
(define-configuration fail2ban-jail-configuration
(name
string
"Required name of this jail configuration.")
"Required name of this jail configuration."
empty-serializer)
(enabled?
(boolean #t)
"Whether this jail is enabled.")