summaryrefslogtreecommitdiffstats
path: root/krebs/4lib
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-09-04 01:51:40 +0200
committertv <tv@shackspace.de>2015-09-04 01:51:40 +0200
commitc2c528926cb0fcf25a2ae4ca718e3ada89afcada (patch)
tree3ae5dd28c1fb33aebf551f9ff0385b2c143dff1d /krebs/4lib
parentb82fd9ba290c988e03e34c51fc3b1976be11739d (diff)
krebs types net.tinc: s/apply/default/
Diffstat (limited to 'krebs/4lib')
-rw-r--r--krebs/4lib/types.nix2
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}