devos/lib/lists.nix
2021-04-18 19:28:03 -05:00

8 lines
156 B
Nix

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