summaryrefslogtreecommitdiffstats
path: root/krebs/4lib
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/4lib')
-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;