summary refs log tree commit diff
path: root/gnu/services/security.scm
diff options
context:
space:
mode:
authormuradm <mail@muradm.net>2022-08-29 16:51:19 +0300
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-01 08:58:16 -0400
commit7686dd9676ebd54aec96ab22f0942e27a0979656 (patch)
tree9a2a8793f32893ad0ce38d4b524d9275b2d4ce8e /gnu/services/security.scm
parent80d9edb69d6e980501963fbae9c05e0c024295fe (diff)
downloadguix-7686dd9676ebd54aec96ab22f0942e27a0979656.tar.gz
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>
Diffstat (limited to 'gnu/services/security.scm')
-rw-r--r--gnu/services/security.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/security.scm b/gnu/services/security.scm
index 9ab23ffb46..7f66c462f3 100644
--- a/gnu/services/security.scm
+++ b/gnu/services/security.scm
@@ -194,7 +194,8 @@
 (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.")