fix(nvim): use unstable pkgset
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.
This commit is contained in:
Jalil David Salamé Messina 2024-10-14 09:31:19 +02:00
parent f30afe506b
commit 8b2984be90
Signed by: jalil
GPG key ID: F016B9E770737A0B
6 changed files with 40 additions and 21 deletions

View file

@ -2,10 +2,17 @@
{
flake.nixosModules =
let
nvim-config.imports = [
inputs.nixvim.homeManagerModules.nixvim
../nvim
];
nvim-config =
{ pkgs, ... }:
{
imports = [
inputs.nixvim.homeManagerModules.nixvim
(import ../nvim {
inherit (inputs) unstable;
inherit (pkgs) system;
})
];
};
homeManagerModuleSandalone = import ../home {
inherit nvim-config;
inherit (inputs) stylix;

View file

@ -9,7 +9,11 @@
nixvim = inputs.nixvim.legacyPackages.${system};
module = {
inherit pkgs;
module = ../nvim/standalone.nix;
extraSpecialArgs = {
inherit (inputs) unstable;
inherit system;
};
module = import ../nvim/standalone.nix { standalone = true; };
};
in
{

View file

@ -17,8 +17,6 @@
inherit (unstablePkgs)
gitoxide
jujutsu
neovim-unwrapped
ruff # nixpkgs stable version is improperly configured by nixvim
# wezterm
;
};