feat(deploy): add deployment tags for each host
This commit is contained in:
@@ -3,4 +3,9 @@
|
||||
{
|
||||
dirNames =
|
||||
path: builtins.attrNames (lib.filterAttrs (_: type: type == "directory") (builtins.readDir path));
|
||||
|
||||
hostMeta = hostDir:
|
||||
if builtins.pathExists (hostDir + "/meta.nix")
|
||||
then import (hostDir + "/meta.nix")
|
||||
else throw "meta.nix required in ${hostDir}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user