forked from mirrors_public/oddlama_nix-config
feat(wireguard): add ability to automatically assign addresses
This commit is contained in:
parent
4e8103af47
commit
c789e2de36
8 changed files with 136 additions and 47 deletions
|
@ -106,7 +106,7 @@
|
|||
# Collect all defined microvm nodes from each colmena node
|
||||
microvmNodes = nixpkgs.lib.concatMapAttrs (_: node:
|
||||
nixpkgs.lib.mapAttrs'
|
||||
(vm: def: nixpkgs.lib.nameValuePair def.nodeName node.config.microvm.vms.${vm})
|
||||
(vm: def: nixpkgs.lib.nameValuePair def.nodeName node.config.microvm.vms.${vm}.config)
|
||||
(node.config.extra.microvms.vms or {}))
|
||||
self.colmenaNodes;
|
||||
# Expose all nodes in a single attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue