krebs types net.tinc: s/apply/default/

This commit is contained in:
tv 2015-09-04 01:51:40 +02:00
parent b82fd9ba29
commit c2c528926c

View File

@ -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}