mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 08:30:14 +00:00
move inherits and add attrset for imports
This commit is contained in:
@ -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))
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user