25 lines
539 B
Nix
25 lines
539 B
Nix
|
{ inputs, ... }:
|
||
|
{
|
||
|
# Add unstable packages to overlay
|
||
|
flake.overlays.unstable =
|
||
|
final: prev:
|
||
|
let
|
||
|
unstablePkgs = inputs.unstable.legacyPackages.${prev.stdenv.hostPlatform.system};
|
||
|
in
|
||
|
{
|
||
|
# Get unstable packages
|
||
|
unstable = unstablePkgs;
|
||
|
|
||
|
# Update vim plugins with the versions from unstable
|
||
|
vimPlugins = prev.vimPlugins // unstablePkgs.vimPlugins;
|
||
|
|
||
|
# Get specific packages from unstable
|
||
|
inherit (unstablePkgs)
|
||
|
gitoxide
|
||
|
jujutsu
|
||
|
# wezterm
|
||
|
;
|
||
|
};
|
||
|
|
||
|
}
|