Skyler Grey | 7dfe5c6 | 2022-08-20 21:41:30 +0100 | [diff] [blame] | 1 | lib: |
Skyler Grey | bcb2cb7 | 2022-08-21 07:24:35 +0100 | [diff] [blame] | 2 | lib.pipe ./. [ |
3 | (import ./nixFilesInWithName.nix lib) | ||||
4 | (builtins.map ({ | ||||
5 | name, | ||||
6 | path, | ||||
7 | }: { | ||||
8 | name = lib.removeSuffix ".nix" name; | ||||
9 | value = import path lib; | ||||
10 | })) | ||||
11 | builtins.listToAttrs | ||||
12 | ] |