refactor: modularize utils

This commit is contained in:
2026-04-21 21:37:31 +02:00
parent 949917a809
commit fce3aa45ec
3 changed files with 45 additions and 35 deletions
+8
View File
@@ -0,0 +1,8 @@
{
hostMeta =
hostDir:
if builtins.pathExists (hostDir + "/meta.nix") then
import (hostDir + "/meta.nix")
else
throw "meta.nix required in ${hostDir}";
}