devos/lib/lists.nix

9 lines
161 B
Nix
Raw Normal View History

{ lib, dev, ... }:
{
pathsIn = dir:
let
fullPath = name: "${toString dir}/${name}";
in
map fullPath (lib.attrNames (dev.safeReadDir dir));
}