would rather use somekind of "distro" eg lunarvim who knows, need to check their repo out, maybe contributing to add options etc easily... for plugin ecosystem of neovim is easy... or atleast if its not.. they should make system , so adding these things would be super simple, that a "potato" even can contribute and make PRs
No more excuses to not use Neovim, great project! NixOS is a blessing and being able to define nvim config this way is just perfect! Keep up the great work and thanks a lot!
I used nixvim for ages and finally just switched to nixCats. That way I can just configure everything in Lua. And I don't need to wait for my maintainer to add support for the plugins I want. I can also set up custom behaviors way more easily.
Yup, nixCats is great. I always found the docs quite convoluted, but once I wrapped my head around it, I definitely found it to be superior to the other options.
I’m currently not using nix for managing pkgs, but I want to change homebrew to nix, and this is what I want, I want some methods that allow me to use my current config with less efforts. 😅 now struggling with tmux plugins btw
Nixcats is craaazzyy though whahaha I'm a software engineer and I know how to read datasheets from chips, have implemented i2c, spi, TCP/IP protocols etc I've been working in software development for over a 14 years, and have been daily driving Linux for 10 years including Nix for a year now. The Nixcats documentation is impenetrable xD I mean, I know that if I put myself to it, I can understand it but ooohhh man. Nixvim has been good for me so far.
I saw you're video on Nixvim, which is the reason I started using it. It's also a neat way of configuring Neovim, but after now trying out NVF, I am definitely switching. As I said, Nixvim is still quite good, but it does feel less thought-out and organized than NVF. That in addition to lazy loading and plugin compatibility, makes NVF a clear winner in my book. To Nixvim's credit, I think I recall them working on adding Lazy loading, but it's not there yet. And if you're not too picky about you're Neovim setup, Nixvim offers a LOT of integrated plugins, making it really easy and fast to set up. You can't really go wrong with either.
I recently switched from neovim to vscode, mainly because of some problems I've been having with NixVim and some VSCode-exclusive plugins I had to use. Will reconsider switching to nvim once NVF becomes a bit more mature and has all the plugins I need!
In the NVF documentations it states: 'Not comfortable with a full-nix config or want to bring your Lua config? You can do just that, no unnecessary restrictions.', and yet I don't see any reference in the manual on how to achieve that. Do you know if that's achievable or are the devs planning to implement it in the future ? I'm interested in bringing my Lua config as standalone lua files and just make nvf reference it via nix path.
I'd definitely prefer an incremental approach to preserve my current config. I hardly need my nvim config to be declarative but installations absolutely should be. Right now I take in my dotfiles as a flake and bind it using home-manager which allows me to keep the original format of my configs. I absolutely could not migrate my entire config in one go without a massive lift which would be majorly disruptive.
I think I'll stick to NixVim for right now, I don't feel like migrating again, and I don't see too many benefits over NixVim with NVF to warrant a swap. Good video! :) What about you?
This looks good.. but so does Nixvim. I'm not sure this solves any of the problems I have with Nixvim (though I haven't gone into deep customization so far). And I've seen others mentioning nixCats and such. I'd really love to see a comparison of these different approaches and what their benefits / drawbacks are! How is NVF's architecture different or better than Nixvim's or nixCats or...?
Honestly, that seems pretty cool. I don't really care much about configuring neovim anymore or keeping my config up to date, since I mainly use emacs right now, so this could eliminate a lot of hassle easily and get me a "good-enough" neovim setup quickly. (BTW does something similar exist for emacs?)
I was literally thinking of migrating from Lua to Nix tomorrow, as I had been waiting for the lazy feature to mature a bit. I came here for the nixvim framework, and lo and behold, a new one is already out. Should I wait a bit more for both of them to mature a bit more and then decide which one to pick?
best advice is to never leave the lua behind. use something like nixCats so you can manage packages, plugins and other dependencies with nix (and pin them to specific commits!) but write your configuration in pure Lua. Keep the Lua. Use the Lua. Discarding the Lua will make your experience worse. But also just whatever works for you homie. I found that wrapping programming languages inside nix is a fool's errand -- stick to nix for config formats, not languages.
@@RedbeardyMcGee I can fully understand where you are coming from. Lua is already used for configuring the neovim and using nix to configure Lua to configure neovim just seems bit silly... But nix also has a lot of advantages as well, when writing Lua code I need to break down complex function to smaller but more manageable ones, which inevitably reduces performance, but using nix I dont need to bother with that, the final Lua code can be as complex as it need to be as I only need to bother with nix and using nix I can batter integrate neovim with the system like using sops for secret management
@@VSurya-vt4nd I think your issue is not the tools, but the application of those tools. You probably could get better results if you learn lua more thoroughly. Plus nixCats can integrate with the rest of the nix ecosystem just fine (if not better). Anyway, good luck
it's really cool for neovim newcomers. but there should be a big warn sign. everything will be great if you requirements are covered by framework. but if not, you will end up in a situation when you need to actually learn how to configure nvim in lua in order to package the missing parts. boom and now you know how to achieve the same result in lua instead of nix. and new question arise: why do you need two languages for the same purpose when the later will be translated to the first? lua configuration also could be modular and extensible.
Ah Mr. Vimjoyer! Assalam-0-Alaikum ! =) I wanted to ask you that how did you set up your cursor to look so cool? I also want that type of effect on my cursor, can you tell me how ? :")
It's interesting, thanks for the video. I'm using Nixvim but I think nvf shares the same drawback as Nixvim: it's a pain to iterate over your config, like tweaking the options of a plugin or other part, you have to wait for it to rebuild the whole thing, even with cache, it takes a minute or two. Compared to the vanilla nvim, where all it takes is to restart nvim. It would be nice if you could make a video about nixcats or edenVim as they are yet another alternative to use nvim with nix but focus more on configuration via lua.
If you run nixvim as a standalone flake, all you have to do is run "nix build" and "nix run" to iterate. Then you can update your configuration once everything works.
@ I know that's what I'm doing already. But even as a standalone version, running "nix run ." takes a minute or two to rebuild. That's quite frustrating when you want to try out plugins options.
I'm my opinion, no, if you wanna configure neovim with nix, nixvim is still the best way to do it. Specially because of what nixvim in the backend moving to a RFC-042 approach with freeform settings, most plugins are future-proof, if it happens that options aren't updated
These nix configs are worse than using an ORM. There are million programs, who thought it would be a good idea for every pkg maintainer to add another cfg abstraction. It makes no sense.
@@karthickb1973 there have been some recent advancements to support mason better, but plain lazy.nvim and plain mason will not work as advertised unless you have a wrapper. nixCats, kickstart-nix and nvf all offer that wrapper, I think.
While I'm using Nix, I've noticed that the toxicity in both the Hyprland Nix channel and the unofficial NixOS Discord server is quite overwhelming. I'm not very familiar with the Vimjoyer server, but if the same users are active there, I have my doubts about the environment. I think it's best to stick to the official Matrix server, as they seem to implement some moderation.
can you please redo some of your older videos like how to set up hyprland alot has changed i needed to stop using nixos for uni and i wanted to come back but everything has changed. its 10x harder to get back into
@@vimjoyer cheers man, been distro hopping like crazy trying to set up nixos again but the starter template mistro made is also out of date so trying my best to build everything from scratch.
Same, i feel like abstracting lua away is not worth it in case of Neovim. You trade away too much for convenience. Nixcats uses nix for fetching plugins, lets me configure multiple neovim packages in lua then bring them up anywhere by using `nix run gitrepo` i think it is the golden middleground of nix usage in the case of neovim.
I'm just finishing the transition of my Neovim configuration to Nixvim and now you present NVF.
same 😂
I'll probably start transitioning to nvf since i love raf's work
Rip
would rather use somekind of "distro"
eg lunarvim
who knows, need to check their repo out, maybe contributing to add options etc easily... for plugin ecosystem of neovim is easy...
or atleast if its not.. they should make system , so adding these things would be super simple, that a "potato" even can contribute and make PRs
us moment
I completed nixvim just a month ago now you give me this
Perfect video for me to see at this moment.
No more excuses to not use Neovim, great project! NixOS is a blessing and being able to define nvim config this way is just perfect! Keep up the great work and thanks a lot!
Hooray! More quality NixOS information/education!!
I'll definitively try this out. I feel like NixVim is a little bit restrictive, but this seems to be better.
I used nixvim for ages and finally just switched to nixCats.
That way I can just configure everything in Lua. And I don't need to wait for my maintainer to add support for the plugins I want.
I can also set up custom behaviors way more easily.
cool sounds amazing, I am checking it out right now :")
Yup, nixCats is great. I always found the docs quite convoluted, but once I wrapped my head around it, I definitely found it to be superior to the other options.
I’m currently not using nix for managing pkgs, but I want to change homebrew to nix, and this is what I want, I want some methods that allow me to use my current config with less efforts.
😅 now struggling with tmux plugins btw
Nixcats is craaazzyy though whahaha
I'm a software engineer and I know how to read datasheets from chips, have implemented i2c, spi, TCP/IP protocols etc
I've been working in software development for over a 14 years, and have been daily driving Linux for 10 years including Nix for a year now.
The Nixcats documentation is impenetrable xD
I mean, I know that if I put myself to it, I can understand it but ooohhh man.
Nixvim has been good for me so far.
Hi @@CountDookuful can you help me out with the nixCats
Some good resources where I can find how to configure and get started
was literally thinking about configuring neovim with nix earlier today, and then you post this, thanks!
cant tell you how much I needed this video right now, thanks!
I love the addition of the kitty cursor tail :D
raf is the goat
raf is woke
this comment has been sponsored by raf
"Woke" is a kind of term only used by right-wing idiots
Can you create a video about NixCats-Neovim? I’m having a hard time figuring out how to use it, and your videos are always incredibly helpful!
Yes please, this
Been waiting for something like this, thanks!
I saw you're video on Nixvim, which is the reason I started using it. It's also a neat way of configuring Neovim, but after now trying out NVF, I am definitely switching.
As I said, Nixvim is still quite good, but it does feel less thought-out and organized than NVF. That in addition to lazy loading and plugin compatibility, makes NVF a clear winner in my book. To Nixvim's credit, I think I recall them working on adding Lazy loading, but it's not there yet. And if you're not too picky about you're Neovim setup, Nixvim offers a LOT of integrated plugins, making it really easy and fast to set up. You can't really go wrong with either.
Facts
Pretty Nice ✨️
Today I'm starting to migrate my nvim lua configuration to this approach 😎✨️
I recently switched from neovim to vscode, mainly because of some problems I've been having with NixVim and some VSCode-exclusive plugins I had to use. Will reconsider switching to nvim once NVF becomes a bit more mature and has all the plugins I need!
Nice
it doesn't need to adopt all your fav plugins just load custom ones, I already made it complete for my use :)
tell me more about this cursor move animation thing.
It's a new kitty feature.
programs.kitty.settings.cursor_trail = 3; option in home-manager
smear-cursor?
In the NVF documentations it states: 'Not comfortable with a full-nix config or want to bring your Lua config? You can do just that, no unnecessary restrictions.', and yet I don't see any reference in the manual on how to achieve that.
Do you know if that's achievable or are the devs planning to implement it in the future ?
I'm interested in bringing my Lua config as standalone lua files and just make nvf reference it via nix path.
You can use
vim.extraLuaFiles
vim.luaConfigPre
vim.luaConfigPost
etc
I'd definitely prefer an incremental approach to preserve my current config. I hardly need my nvim config to be declarative but installations absolutely should be. Right now I take in my dotfiles as a flake and bind it using home-manager which allows me to keep the original format of my configs.
I absolutely could not migrate my entire config in one go without a massive lift which would be majorly disruptive.
I think I'll stick to NixVim for right now, I don't feel like migrating again, and I don't see too many benefits over NixVim with NVF to warrant a swap. Good video! :) What about you?
I'll decide during next neovim rewriting ritual :D
Omg! Its the coolest nix video again! 🤩
Btw what terminal are you using with this beautiful cursor/carriage animation?
It's kitty with a new trail feature
This looks good.. but so does Nixvim. I'm not sure this solves any of the problems I have with Nixvim (though I haven't gone into deep customization so far). And I've seen others mentioning nixCats and such. I'd really love to see a comparison of these different approaches and what their benefits / drawbacks are! How is NVF's architecture different or better than Nixvim's or nixCats or...?
I was just watching your previous Neovim videos and then got the discord notification
This couldn't be more perfecly timed
nice
Please do also make a video about nixcats so I can compare that with this one
Honestly, that seems pretty cool. I don't really care much about configuring neovim anymore or keeping my config up to date, since I mainly use emacs right now, so this could eliminate a lot of hassle easily and get me a "good-enough" neovim setup quickly.
(BTW does something similar exist for emacs?)
would you go over snowfall lib? it is very nice
maybe
@@vimjoyer 😘
I was literally thinking of migrating from Lua to Nix tomorrow, as I had been waiting for the lazy feature to mature a bit. I came here for the nixvim framework, and lo and behold, a new one is already out. Should I wait a bit more for both of them to mature a bit more and then decide which one to pick?
best advice is to never leave the lua behind. use something like nixCats so you can manage packages, plugins and other dependencies with nix (and pin them to specific commits!) but write your configuration in pure Lua. Keep the Lua. Use the Lua. Discarding the Lua will make your experience worse.
But also just whatever works for you homie. I found that wrapping programming languages inside nix is a fool's errand -- stick to nix for config formats, not languages.
@@RedbeardyMcGee I can fully understand where you are coming from. Lua is already used for configuring the neovim and using nix to configure Lua to configure neovim just seems bit silly... But nix also has a lot of advantages as well, when writing Lua code I need to break down complex function to smaller but more manageable ones, which inevitably reduces performance, but using nix I dont need to bother with that, the final Lua code can be as complex as it need to be as I only need to bother with nix and using nix I can batter integrate neovim with the system like using sops for secret management
@@VSurya-vt4nd I think your issue is not the tools, but the application of those tools. You probably could get better results if you learn lua more thoroughly. Plus nixCats can integrate with the rest of the nix ecosystem just fine (if not better).
Anyway, good luck
this is great, is there something like it for desktop environments?
There's plasma manager for kde
hell yeah
it's really cool for neovim newcomers. but there should be a big warn sign. everything will be great if you requirements are covered by framework. but if not, you will end up in a situation when you need to actually learn how to configure nvim in lua in order to package the missing parts. boom and now you know how to achieve the same result in lua instead of nix. and new question arise: why do you need two languages for the same purpose when the later will be translated to the first? lua configuration also could be modular and extensible.
Omg new ribbon text animation 🎉
yeah
Ah Mr. Vimjoyer! Assalam-0-Alaikum ! =)
I wanted to ask you that how did you set up your cursor to look so cool?
I also want that type of effect on my cursor, can you tell me how ? :")
It's a new feature in kitty terminal
What do you use to move the cursor like that 😮
A new feature in kitty terminal
how hard it is to clone ur repo to a new setup?
@@prashanthshetty8337 the point is to configure neovim with nix language
So what's the difference to nixvim?
The way options are structured and configuration is extended is very different, but in the end the result is very similar
I think nixvim would have more packages and options for now right ?
yes, nvf is pretty new
@@drishalballaneynothing stops you from loading custom plugins :3
Isn't the big advantage that nvf supports lazy loading but nixvim doesn't?
It's interesting, thanks for the video. I'm using Nixvim but I think nvf shares the same drawback as Nixvim: it's a pain to iterate over your config, like tweaking the options of a plugin or other part, you have to wait for it to rebuild the whole thing, even with cache, it takes a minute or two. Compared to the vanilla nvim, where all it takes is to restart nvim. It would be nice if you could make a video about nixcats or edenVim as they are yet another alternative to use nvim with nix but focus more on configuration via lua.
True
If you run nixvim as a standalone flake, all you have to do is run "nix build" and "nix run" to iterate. Then you can update your configuration once everything works.
@ I know that's what I'm doing already. But even as a standalone version, running "nix run ." takes a minute or two to rebuild. That's quite frustrating when you want to try out plugins options.
I just finished moving from normal neovim config to nixvim. Now it's time to move again? 😔
Only one way to find out
I'm my opinion, no, if you wanna configure neovim with nix, nixvim is still the best way to do it. Specially because of what nixvim in the backend moving to a RFC-042 approach with freeform settings, most plugins are future-proof, if it happens that options aren't updated
0 days since new framework for defining nvim config under NixOS has been promoted
Un saludo a la chaviza
NVF > NixVim for me. Both are great projects but so far I prefer NVF
not gonna lie, raf is a god in nix
Rip my nixvim setup
I can feel you brother 😂
But I just followed your tutorial on nixvim yesterday
Or use God damn Helix and never ever worry about configuring using nvf or nixvim
rip my nixvim
shelfware spotted
real
Damn bro, you're built!
These nix configs are worse than using an ORM.
There are million programs, who thought it would be a good idea for every pkg maintainer to add another cfg abstraction. It makes no sense.
It looks cool, but since Nix doesn't support Windows I can't use it. I'll stick with rocks and Lazy
Yeah, only in WSL, sadly
got fed up with nix just because i cant have lazy nvim running with my favourite plugins
Pretty sure that lazy nvim works on NixOS just like on any other distro
@@vimjoyer mason does not, however, which is like 90% of the magic in lazy.nvim
@@RedbeardyMcGee btw does mason work with this
@@karthickb1973 there have been some recent advancements to support mason better, but plain lazy.nvim and plain mason will not work as advertised unless you have a wrapper. nixCats, kickstart-nix and nvf all offer that wrapper, I think.
But I use Helix.
I'm just happy with Nixvim for 2 days. why you do dis tho brother
nixvim getting dethroned
I'm scared of nix 😢
Don't be scared, if you have any questions you can ask on our discord server
@@vimjoyer appreciate that! When I try nix. I know where to look
While I'm using Nix, I've noticed that the toxicity in both the Hyprland Nix channel and the unofficial NixOS Discord server is quite overwhelming. I'm not very familiar with the Vimjoyer server, but if the same users are active there, I have my doubts about the environment. I think it's best to stick to the official Matrix server, as they seem to implement some moderation.
Just switch to Helix lol.
Helix is awesome too
Would love to see a guide for deploy-rs. please!
Yeah, it's coming
can you please redo some of your older videos like how to set up hyprland alot has changed i needed to stop using nixos for uni and i wanted to come back but everything has changed. its 10x harder to get back into
I definitely will
@@vimjoyer cheers man, been distro hopping like crazy trying to set up nixos again but the starter template mistro made is also out of date so trying my best to build everything from scratch.
I prefer nixCats.
Same, i feel like abstracting lua away is not worth it in case of Neovim. You trade away too much for convenience. Nixcats uses nix for fetching plugins, lets me configure multiple neovim packages in lua then bring them up anywhere by using `nix run gitrepo` i think it is the golden middleground of nix usage in the case of neovim.
Was gonna say, imo nixCats is the best approach. Nix to manage packages, lua for the config, packer as a fallback on systems without Nix.
I''m just conplete my lazy.nvim , then i see you this video .