diff options
author | tv <tv@shackspace.de> | 2015-08-20 08:34:22 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-08-20 08:35:09 +0200 |
commit | 18776d2ca2fc586f2de57b68ad70906d3cb0a5d1 (patch) | |
tree | 64d749bff255b3735d3be4471c60106025aec64c /krebs | |
parent | d5ffbf54cbef182d9e2865d75cb94b0713191149 (diff) |
krebs types net.addrs: s/apply/default/
This is required for new nixos-unstable.
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/4lib/types.nix | 3 |
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; |