feat(deploy): add deployment tags for each host
This commit is contained in:
1 parent
828b5d7374
commit
ed39959b61
8 files changed
+38
-5
No files matched your search
@@ -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