feat(deploy): add deployment tags for each host

This commit is contained in:
2026-03-11 14:49:04 +01:00
parent 828b5d7374
commit ed39959b61
8 changed files with 38 additions and 5 deletions

View File

@@ -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}";
}