Initial, broken

This commit is contained in:
2021-09-29 17:55:13 -07:00
parent b072fed747
commit 3dc5986134
38 changed files with 302 additions and 95 deletions
+1 -1
View File
@@ -11,6 +11,6 @@ with lib;
host-files = attrNames (filterAttrs is-nix-file (filterAttrs is-regular-file (builtins.readDir host-path)));
hosts = map hostname-from-file host-files;
load-host-file = hostname: import (./. + "/hosts/${hostname}.nix");
load-host-file = hostname: import (host-path + "/${hostname}.nix");
in genAttrs hosts (hostname: load-host-file hostname);
}