From 18776d2ca2fc586f2de57b68ad70906d3cb0a5d1 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 20 Aug 2015 08:34:22 +0200 Subject: krebs types net.addrs: s/apply/default/ This is required for new nixos-unstable. --- krebs/4lib/types.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/krebs/4lib/types.nix b/krebs/4lib/types.nix index f767d20fe..4e123e723 100644 --- a/krebs/4lib/types.nix +++ b/krebs/4lib/types.nix @@ -47,7 +47,8 @@ types // rec { }; addrs = mkOption { type = listOf addr; - apply = _: config.addrs4 ++ config.addrs6; + default = config.addrs4 ++ config.addrs6; + # TODO only default addrs make sense }; addrs4 = mkOption { type = listOf addr4; -- cgit v1.2.3