mochi/nixos/overlays/default.nix

31 lines
791 B
Nix
Raw Normal View History

{ inputs, ... }:
let
2024-07-03 17:45:35 -05:00
warpTerminalOverlay = import ./warp-terminal {
inherit (inputs.nixpkgs) lib;
};
2024-07-03 17:45:35 -05:00
termiusOverlay = import ./termius { };
# Partial overlay
# talosctlOverlay = import ./talosctl { };
# Full overlay
talosctlOverlay = self: super: {
talosctl = super.callPackage ./talosctl/talosctl-custom.nix { };
};
2024-07-03 17:45:35 -05:00
goOverlay = import ./go { };
in
2024-06-20 13:03:44 -05:00
{
nur = inputs.nur.overlay;
2024-07-03 17:45:35 -05:00
warp-terminal = warpTerminalOverlay;
termius = termiusOverlay;
talosctl = talosctlOverlay;
go = goOverlay;
2024-06-20 13:03:44 -05:00
# The unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
2024-07-03 17:45:35 -05:00
unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable {
inherit (final) system;
config.allowUnfree = true;
};
};
2024-06-20 13:03:44 -05:00
}