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