From 17e5ca819024bc4590c40befbbbf83cc120cd459 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Fri, 23 Aug 2024 13:40:56 +0200 Subject: services: iptables: Provide a default value. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There doesn't seem to be a reason to force users to write (service iptables-service-type (iptables-configuration)) instead of simply (service iptables-service-type) This patch provides a default value for the iptables-service-type. * gnu/services/networking.scm (iptables-service-type): Set default-value. Change-Id: I93b6c544dfb064c7a0a999549dff61007a38f842 Signed-off-by: Ludovic Courtès --- gnu/services/networking.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/services') diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index 76563be14f..48a86b3694 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -2110,6 +2110,7 @@ COMMIT (define iptables-service-type (service-type (name 'iptables) + (default-value (iptables-configuration)) (description "Run @command{iptables-restore}, setting up the specified rules.") (extensions -- cgit v1.2.3