refactor: modularize utils

This commit is contained in:
hektor committed 2026-04-21 21:37:31 +02:00
1 parent 949917a809
commit fce3aa45ec
3 files changed
+45 -35

No files matched your search

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