From 290cb759adba9238d2074c90d04ccb17779f01a5 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 20 Oct 2025 17:24:32 +0200 Subject: [PATCH] feat(neovim): moving from nvf to regular nvim configuration. --- .../cross-platform/home-manager/neovim.nix | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/modules/cross-platform/home-manager/neovim.nix b/modules/cross-platform/home-manager/neovim.nix index 94230ed..399de7d 100644 --- a/modules/cross-platform/home-manager/neovim.nix +++ b/modules/cross-platform/home-manager/neovim.nix @@ -22,10 +22,33 @@ in { config = lib.mkIf config.crony.neovim.enable { # Disable stylix for nvf, I wan't to use a properly implemented theme sorry. stylix.targets.nvf.enable = false; + stylix.targets.neovim.enable = false; - # Setup neovim - programs.nvf = { + # Setup neovim with default home manager options + programs.neovim = { enable = true; + viAlias = true; + vimAlias = true; + vimdiffAlias = true; + withNodeJs = true; + withPython3 = true; + withRuby = true; + extraWrapperArgs = [ + "--suffix" + "LIBRARY_PATH" + ":" + "${lib.makeLibraryPath [pkgs.stdenv.cc.cc pkgs.zlib]}" + "--suffix" + "PKG_CONFIG_PATH" + ":" + "${lib.makeSearchPathOutput "dev" "lib/pkgconfig" [pkgs.stdenv.cc.cc pkgs.zlib]}" + ]; + extraPackages = [pkgs.gcc]; + }; + + # Setup neovim with nvf + programs.nvf = { + enable = false; settings = { vim = { # Use the nighly package