devos/lib/lists.nix

9 lines
156 B
Nix
Raw Normal View History

2021-04-18 03:35:05 +02:00
{ lib, ... }:
{
pathsIn = dir:
let
fullPath = name: "${toString dir}/${name}";
in
2021-04-18 03:35:05 +02:00
map fullPath (lib.attrNames (lib.safeReadDir dir));
}