tlaternet-server/pkgs/default.nix

23 lines
615 B
Nix
Raw Normal View History

2022-10-17 11:00:02 +01:00
{
pkgs,
lib,
}: let
inherit (builtins) fromJSON mapAttrs readFile;
2022-10-13 00:30:07 +01:00
inherit (pkgs) callPackage;
2022-10-17 11:00:02 +01:00
in
{
starbound = callPackage ./starbound {};
prometheus-fail2ban-exporter = callPackage ./prometheus/fail2ban-exporter.nix {
sources = pkgs.callPackage ./_sources_pkgs/generated.nix {};
};
afvalcalendar = callPackage ./afvalcalendar {};
2022-10-17 11:00:02 +01:00
}
// (
# Add nextcloud apps
let
mkNextcloudApp = pkgs.callPackage ./mkNextcloudApp.nix {};
sources = fromJSON (readFile ./_sources_nextcloud/generated.json);
2022-10-17 11:00:02 +01:00
in
mapAttrs (_: source: mkNextcloudApp source) sources
)