depot/packages/packages.nix

41 lines
1.3 KiB
Nix
Raw Normal View History

2022-01-14 19:29:21 +02:00
{ pkgs, inputs, ... }:
let
inherit (pkgs) system;
dream2nix = inputs.dream2nix.lib.init {
systems = [ system ];
config.overridesDirs = [ ./dream2nix-overrides ];
};
2022-02-26 01:47:32 +02:00
poetry2nix = pkgs.poetry2nix.overrideScope' (final: prev: {
defaultPoetryOverrides = prev.defaultPoetryOverrides.extend (import ./poetry2nix-overrides);
});
2022-01-14 19:29:21 +02:00
in
{
ghost = (dream2nix.riseAndShine {
source = ./servers/ghost/dream-lock.json;
sourceOverrides = oldSources: let
version = "4.32.3";
in {
# building ghost ourselves is a pain in the ass, so just use the zip
"ghost"."${version}" = pkgs.fetchzip {
url = "https://github.com/TryGhost/Ghost/releases/download/v${version}/Ghost-${version}.zip";
sha256 = "sha256-XneO6es3eeJz4v1JnWtUfm27zwUW2Wy3hTIHUF7UrFc=";
stripRoot = false;
};
};
}).defaultPackage.${system};
2021-11-13 13:33:25 +02:00
hyprspace = pkgs.callPackage ./networking/hyprspace { iproute2mac = null; };
minio-console = pkgs.callPackage ./servers/minio-console { };
2021-06-05 23:59:06 +03:00
privatevoid-smart-card-ca-bundle = pkgs.callPackage ./data/privatevoid-smart-card-certificate-authority-bundle.nix { };
2022-02-26 01:48:16 +02:00
reflex-cache = poetry2nix.mkPoetryApplication {
projectDir = ./servers/reflex-cache;
meta.mainProgram = "reflex";
};
2022-02-01 23:45:59 +02:00
sips = pkgs.callPackage ./servers/sips { };
2021-06-05 23:59:06 +03:00
}