tlaternet-server/pkgs/default.nix

22 lines
563 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 {};
2023-10-02 21:54:21 +01:00
prometheus-fail2ban-exporter = callPackage ./prometheus/fail2ban-exporter.nix {
sources = pkgs.callPackage ./_sources_pkgs/generated.nix {};
};
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
)