refactor: cleanup (deadnix, nixfmt, statix)

This commit is contained in:
hektor committed 2026-03-11 23:23:51 +01:00
1 parent 7c92cc5c6a
commit 12481d7468
14 files changed
+20 -22

No files matched your search

+6 -4
View File
@@ -4,8 +4,10 @@
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}";
hostMeta =
hostDir:
if builtins.pathExists (hostDir + "/meta.nix") then
import (hostDir + "/meta.nix")
else
throw "meta.nix required in ${hostDir}";
}