xin/overlays/default.nix

20 lines
411 B
Nix

{ isUnstable
, xinlib
, ...
}:
let
inherit (xinlib) prIsOpen;
matrix-synapse-unwrapped = prIsOpen.overlay 0 (import ./matrix-synapse.nix);
heisenbridge = prIsOpen.overlay 0 (import ./heisenbridge.nix);
invidious = prIsOpen.overlay 0 (import ./invidious.nix);
in
{
nixpkgs.overlays = [ heisenbridge matrix-synapse-unwrapped ] ++
(if isUnstable
then [
invidious
]
else [
]);
}