krebs types net.addrs: s/apply/default/
This is required for new nixos-unstable.
This commit is contained in:
parent
d5ffbf54cb
commit
18776d2ca2
@ -47,7 +47,8 @@ types // rec {
|
|||||||
};
|
};
|
||||||
addrs = mkOption {
|
addrs = mkOption {
|
||||||
type = listOf addr;
|
type = listOf addr;
|
||||||
apply = _: config.addrs4 ++ config.addrs6;
|
default = config.addrs4 ++ config.addrs6;
|
||||||
|
# TODO only default addrs make sense
|
||||||
};
|
};
|
||||||
addrs4 = mkOption {
|
addrs4 = mkOption {
|
||||||
type = listOf addr4;
|
type = listOf addr4;
|
||||||
|
Loading…
Reference in New Issue
Block a user