move inherits and add attrset for imports

This commit is contained in:
Noah Masur committed 2025-02-08 13:22:33 -05:00
1 parent 6217871960
commit 59a52dc033
29 files changed
+53 -28

No files matched your search

+4 -1
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))
];
}