refactor: modularize utils
This commit is contained in:
1 parent
949917a809
commit
fce3aa45ec
3 files changed
+45
-35
No files matched your search
@@ -0,0 +1,8 @@
|
||||
{
|
||||
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