You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
171 B
Nix
4 lines
171 B
Nix
2 years ago
|
{ nodes, pkgs, lib, ... }:
|
||
|
# Feels like a NixOS module - But you can return any JSON-serializable value
|
||
|
lib.attrsets.mapAttrs (k: v: v.config.deployment.targetHost) nodes
|