From c2c528926cb0fcf25a2ae4ca718e3ada89afcada Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 4 Sep 2015 01:51:40 +0200 Subject: krebs types net.tinc: s/apply/default/ --- krebs/4lib/types.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs/4lib') diff --git a/krebs/4lib/types.nix b/krebs/4lib/types.nix index 4e123e723..f6b4bd8b1 100644 --- a/krebs/4lib/types.nix +++ b/krebs/4lib/types.nix @@ -67,7 +67,7 @@ types // rec { options = { config = mkOption { type = str; - apply = _: '' + default = '' ${optionalString (net-config.via != null) (concatMapStringsSep "\n" (a: "Address = ${a}") net-config.via.addrs)} ${concatMapStringsSep "\n" (a: "Subnet = ${a}") net-config.addrs} -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/29100000.lock: No such file or directory (2)