Renamed lib.zip into lib.zipTwoLists, since it refers to the wrong function
svn path=/nixos/trunk/; revision=22888
This commit is contained in:
parent
58204f0a8a
commit
21eb6ed412
1 changed files with 2 additions and 2 deletions
|
@ -73,12 +73,12 @@ rec {
|
|||
|
||||
machines = lib.attrNames nodes;
|
||||
|
||||
machinesNumbered = lib.zip machines (lib.range 1 254);
|
||||
machinesNumbered = lib.zipTwoLists machines (lib.range 1 254);
|
||||
|
||||
nodes_ = lib.flip map machinesNumbered (m: lib.nameValuePair m.first
|
||||
[ ( { config, pkgs, nodes, ... }:
|
||||
let
|
||||
interfacesNumbered = lib.zip config.virtualisation.vlans (lib.range 1 255);
|
||||
interfacesNumbered = lib.zipTwoLists config.virtualisation.vlans (lib.range 1 255);
|
||||
interfaces =
|
||||
lib.flip map interfacesNumbered ({ first, second }:
|
||||
{ name = "eth${toString second}";
|
||||
|
|
Loading…
Reference in a new issue