forked from Fediversity/Fediversity
more scalable imports
that directory will only grow
This commit is contained in:
parent
2d7cc5c4cb
commit
212b3647fd
|
@ -3,15 +3,7 @@ let
|
|||
inherit (config) pages;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./grants.nix
|
||||
./fediversity.nix
|
||||
]
|
||||
++
|
||||
lib.fileset.toList ./partners
|
||||
++
|
||||
lib.fileset.toList ./news
|
||||
;
|
||||
imports = with lib.fileset; toList (difference (fileFilter ({ hasExt, ... }: hasExt "nix") ./.) ./default.nix);
|
||||
|
||||
pages.index = {
|
||||
title = "Fediversity";
|
||||
|
|
Loading…
Reference in a new issue