summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/types.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-08-24 13:16:35 +0200
committermakefu <github@syntax-fehler.de>2015-08-24 13:16:35 +0200
commitb25efb56e94d1b53d04af01320c697e3ad17b02c (patch)
treeaca65d4c638a822358214df811ab305be3c8983f /krebs/4lib/types.nix
parent7c907ce6bc84e1d32f8041c96e4b0ca33c308bc4 (diff)
parentc73b2f6c175625f08d5898320ea8fcb336f393aa (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'krebs/4lib/types.nix')
-rw-r--r--krebs/4lib/types.nix3
1 files changed, 2 insertions, 1 deletions
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;