diff options
author | tv <tv@shackspace.de> | 2015-09-04 01:51:40 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-09-04 01:51:40 +0200 |
commit | c2c528926cb0fcf25a2ae4ca718e3ada89afcada (patch) | |
tree | 3ae5dd28c1fb33aebf551f9ff0385b2c143dff1d | |
parent | b82fd9ba290c988e03e34c51fc3b1976be11739d (diff) |
krebs types net.tinc: s/apply/default/
-rw-r--r-- | krebs/4lib/types.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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} |