xin/overlays/default.nix

13 lines
304 B
Nix

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