2023-01-11 03:23:06 +02:00
|
|
|
{ lib, inputs, self, ... }:
|
2022-07-31 16:09:40 +03:00
|
|
|
|
|
|
|
{
|
2023-01-08 20:07:20 +02:00
|
|
|
imports = [
|
|
|
|
./checks
|
|
|
|
./modules/devshell.nix
|
|
|
|
./build-support
|
|
|
|
|
|
|
|
./networking/hyprspace/project.nix
|
|
|
|
./networking/ipfs-cluster/project.nix
|
|
|
|
./servers/reflex-cache/project.nix
|
|
|
|
./websites/landing/project.nix
|
|
|
|
./websites/stop-using-nix-env/project.nix
|
|
|
|
];
|
2023-01-11 03:23:06 +02:00
|
|
|
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 {
|
2023-01-11 03:23:06 +02:00
|
|
|
|
2022-08-08 21:10:35 +03:00
|
|
|
cinny = pkgs.callPackage ./web-apps/cinny { inherit pins; };
|
|
|
|
|
2023-07-20 01:05:54 +03:00
|
|
|
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-06-18 16:17:08 +03:00
|
|
|
|
2022-07-31 16:09:40 +03:00
|
|
|
npins = pkgs.callPackage ./tools/npins {
|
2022-05-26 22:22:27 +03:00
|
|
|
nix = nix-super;
|
2022-07-31 16:09:40 +03:00
|
|
|
nix-prefetch-git = pkgs.nix-prefetch-git.override {
|
|
|
|
nix = nix-super;
|
|
|
|
};
|
2022-05-26 22:22:27 +03:00
|
|
|
};
|
|
|
|
|
2022-07-31 16:09:40 +03:00
|
|
|
opentelemetry-java-agent-bin = pkgs.callPackage ./monitoring/opentelemetry-java-agent-bin { };
|
2022-06-19 00:40:37 +03:00
|
|
|
|
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
|
|
|
|
2022-07-31 16:42:56 +03:00
|
|
|
projectShells = {
|
2022-07-31 16:09:40 +03:00
|
|
|
default = let
|
|
|
|
flakePkgs = self'.packages;
|
2022-07-31 16:42:56 +03:00
|
|
|
in {
|
2022-07-31 16:09:40 +03:00
|
|
|
tools = with flakePkgs; [
|
|
|
|
agenix
|
2023-05-31 01:30:56 +03:00
|
|
|
graf
|
2023-05-13 17:46:05 +03:00
|
|
|
hci
|
2022-07-31 16:09:40 +03:00
|
|
|
npins
|
|
|
|
pin
|
2022-10-17 15:32:13 +03:00
|
|
|
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
|
|
|
}
|