fixup! cluster/simulacrum: allow limiting nodes

This commit is contained in:
Max Headroom 2024-11-16 16:47:49 +01:00
parent 5853b69982
commit f73ad62ed5

View file

@ -53,7 +53,7 @@ let
getNodeAddr = node: (builtins.head config.nodes.${node}.networking.interfaces.eth1.ipv4.addresses).address; getNodeAddr = node: (builtins.head config.nodes.${node}.networking.interfaces.eth1.ipv4.addresses).address;
filterActiveNodes = lib.filterAttrs (node: _: config.nodes ? node); filterActiveNodes = lib.filterAttrs (node: _: config.nodes ? ${node});
in in
{ {