krebs types net.addrs: s/apply/default/

This is required for new nixos-unstable.
This commit is contained in:
tv 2015-08-20 08:34:22 +02:00
parent d5ffbf54cb
commit 18776d2ca2

View File

@ -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;