depot/packages/projects.nix

71 lines
1.6 KiB
Nix
Raw Normal View History

{ lib, inputs, self, ... }:
2022-07-31 16:09:40 +03:00
{
imports = [
./checks
./modules/devshell.nix
./build-support
./networking/ipfs-cluster/project.nix
./servers/reflex-cache/project.nix
./websites/landing/project.nix
./websites/stop-using-nix-env/project.nix
];
perSystem = { config, filters, pkgs, self', ... }:
2022-07-31 16:09:40 +03:00
let
inherit (self'.packages) nix-super;
pins = import ./sources;
in
{
packages = filters.doFilter filters.packages rec {
2022-08-08 21:10:35 +03:00
cinny = pkgs.callPackage ./web-apps/cinny { inherit pins; };
excalidraw = pkgs.callPackage ./web-apps/excalidraw { inherit pins; };
2022-04-27 18:01:24 +03:00
2023-05-31 01:30:29 +03:00
graf = pkgs.callPackage ./tools/graf { };
2022-07-31 16:09:40 +03:00
grafana = pkgs.callPackage ./monitoring/grafana { };
2022-06-18 22:50:27 +03:00
2022-07-31 16:09:40 +03:00
ipfs = pkgs.callPackage ./networking/ipfs { };
2022-07-31 16:09:40 +03:00
npins = pkgs.callPackage ./tools/npins {
nix = nix-super;
2022-07-31 16:09:40 +03:00
nix-prefetch-git = pkgs.nix-prefetch-git.override {
nix = nix-super;
};
};
2022-07-31 16:09:40 +03:00
opentelemetry-java-agent-bin = pkgs.callPackage ./monitoring/opentelemetry-java-agent-bin { };
2022-07-31 16:09:40 +03:00
pin = pkgs.callPackage ./tools/pin {
inherit npins;
nix = nix-super;
};
2022-05-24 20:38:07 +03:00
2022-07-31 16:09:40 +03:00
searxng = pkgs.callPackage ./web-apps/searxng { inherit pins; };
2022-05-31 12:38:38 +03:00
2022-07-31 16:09:40 +03:00
stevenblack-hosts = pkgs.callPackage ./data/stevenblack { inherit pins; };
2022-05-26 21:55:52 +03:00
};
2022-07-31 16:09:40 +03:00
projectShells = {
2022-07-31 16:09:40 +03:00
default = let
flakePkgs = self'.packages;
in {
2022-07-31 16:09:40 +03:00
tools = with flakePkgs; [
agenix
2023-05-31 01:30:56 +03:00
graf
hci
2022-07-31 16:09:40 +03:00
npins
pin
pkgs.deadnix
pkgs.statix
2022-07-31 16:09:40 +03:00
];
env.NPINS_DIRECTORY.eval = "$REPO_ROOT/packages/sources";
};
2022-03-14 00:42:29 +02:00
};
2022-03-14 00:13:53 +02:00
};
2023-12-02 03:54:45 +02:00
}