I just installed lazyvim and necessary packages through home-manager. I think I needed to install fonts through conf.nix, and that's it.
Nix / NixOS
Main links
Videos
That is incredibly interesting. You didn't have problems with treesitter failing to compile, or lsps and daps failing to run? What were the necessary packages that you installed? And how did you install lazyvim through home-manager, to begin with?
Disregard everything. I just went to copy-paste what I installed and there's no mention of lazyvim. There is a lazyvim package for nix, but I don't seem to have used it.
What were the necessary packages that you installed? And how did you install lazyvim through home-manager, to begin with?
I just added these packages to home.nix, same should be for the package above.
#neovim #git,make,npm,node,and ripgrep are already installed neovim python311 python311Packages.pip # python311Packages.pynvim luajitPackages.luarocks cargo git gh tree-sitter nerd-fonts.symbols-only emacsPackages.all-the-icons-nerd-fonts markdownlint-cli luajitPackages.jsregexp
Here’s how I’ve got my nvim configured for nixos if you’re interested: https://codeberg.org/farrisswisher/nixos/src/branch/main/mod/user/nvim Mind you this is managed via homeManager but it should be mostly the same if you wanted to just use it in your regular nix rebuild rather than rely on homeManager
Edit: to clarify, i’m posting this because the method of configuring nvim I’ve used here circumvents the need for lazyvim entirely, as you allow Nix to manage your plugins rather than lazyvim, packer, etc etc. You also can use it to manage all your various language LSPs so that eliminates the need for meson as well. All while still using lua for the actual configuration! Though one drawback I’ve had with this approach is that I did have some extra config files which I had to combine into the init.lua file, but other than that this has made the most sense to me, I hope it can prove helpful to you or anyone else who stops by here
Wow I skimmed through your config and it seemed really good! This is really simple and easy to understand. I made this post because I'd wanted to keep my lazyvim configuration, but if I were to want to completely rewrite it with nix from the ground up it'd likely either be with nixvim or something like yours!