move inherits and add attrset for imports

This commit is contained in:
Noah Masur
2025-02-08 13:22:33 -05:00
parent 6217871960
commit 59a52dc033
29 changed files with 53 additions and 28 deletions

View File

@ -1,4 +1,7 @@
{ lib, ... }:
{
imports = lib.filesystem.listFilesRecursive ./.;
imports = lib.pipe (lib.filesystem.listFilesRecursive ./.) [
# Get only files ending in .nix
(builtins.filter (name: lib.hasSuffix ".nix" name))
];
}