put partners in a directory

This commit is contained in:
Valentin Gagarin 2024-11-13 15:24:40 +01:00 committed by Valentin Gagarin
parent e17ba990ed
commit b435309994
5 changed files with 6 additions and 5 deletions

View file

@ -1,16 +1,17 @@
{ config, ... }:
let
inherit (config) pages;
files = dir:
map (name: dir + /${name}) (with builtins; attrNames (readDir dir));
in
{
imports = [
./grants.nix
./fediversity.nix
./nlnet.nix
./nordunet.nix
./tweag.nix
./oid.nix
];
]
++
(files ./partners)
;
pages.index = {
title = "Fediversity";