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, ... }: { config, ... }:
let let
inherit (config) pages; inherit (config) pages;
files = dir:
map (name: dir + /${name}) (with builtins; attrNames (readDir dir));
in in
{ {
imports = [ imports = [
./grants.nix ./grants.nix
./fediversity.nix ./fediversity.nix
./nlnet.nix ]
./nordunet.nix ++
./tweag.nix (files ./partners)
./oid.nix ;
];
pages.index = { pages.index = {
title = "Fediversity"; title = "Fediversity";