Jalil David Salamé Messina
8b2984be90
All checks were successful
/ check (push) Successful in 26s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Instead of setting some specific unstable packages, make nixvim always use packages from nixos-unstable.
24 lines
539 B
Nix
24 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
|
|
;
|
|
};
|
|
|
|
}
|