xin/overlays/default.nix

43 lines
1.4 KiB
Nix
Raw Normal View History

2023-05-28 15:12:04 -06:00
{ isUnstable, xinlib, ... }:
let
2023-05-26 12:17:21 -06:00
inherit (xinlib) prIsOpen;
2023-06-05 07:41:45 -06:00
_1password-gui = prIsOpen.overlay 235900 (import ./1password-gui.nix);
2023-05-28 15:12:04 -06:00
#openssh = import ./openssh.nix;
2023-06-04 07:03:38 -06:00
#obsidian = prIsOpen.overlay 235408 (import ./obsidian.nix);
2023-05-28 15:12:04 -06:00
#tailscale = import ./tailscale.nix;
#jetbrains = prIsOpen 232308 (import ./jetbrains.nix);
#tidal-hifi = prIsOpen 228552 (import ./tidal-hifi.nix { inherit lib; });
matrix-synapse = prIsOpen.overlay 236474 (import ./matrix-synapse.nix);
in {
nixpkgs.overlays =
if isUnstable then [ _1password-gui ] else [ matrix-synapse ];
2022-08-25 12:21:35 -06:00
}
# Example Python dep overlay
# (self: super: {
# python3 = super.python3.override {
# packageOverrides = python-self: python-super: {
# canonicaljson = python-super.canonicaljson.overrideAttrs (oldAttrs: {
# nativeBuildInputs = [ python-super.setuptools ];
# });
# };
# };
# })
# Example of an overlay that changes the buildGoModule function
#tailscale = self: super: {
# tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
# buildGoModule = args:
# super.buildGo119Module (args // rec {
# version = "1.32.2";
# src = super.fetchFromGitHub {
# owner = "tailscale";
# repo = "tailscale";
# rev = "v${version}";
# sha256 = "sha256-CYNHD6TS9KTRftzSn9vAH4QlinqNgU/yZuUYxSvsl/M=";
# };
# vendorSha256 = "sha256-VW6FvbgLcokVGunTCHUXKuH5+O6T55hGIP2g5kFfBsE=";
# });
# };
#};