CASCADE/hosts/default.nix

14 lines
286 B
Nix

let _ = builtins.trace "${toString ./.}/default.nix"; in
with builtins;
with import (toString ../functions);
let hosts = import-folder {path = "${toString ./.}"; filenameMatch = ".*[.]nix"; filenameBadMatch = ".*_.*";};
in
{...}:
mapAttrs (hostname: hostdef:
{...}: hostdef
) hosts