Stream: nix

Topic: nixvim - Manage neovim config in Nix


view this post on Zulip Srid (Jun 21 2024 at 17:23):

Srid said:

For those curious, here's our nixvim config, in the context of a home-manager template:

https://github.com/juspay/nix-dev-home/blob/main/home/neovim.nix

view this post on Zulip Andreas (Jun 21 2024 at 17:35):

oh thanks a lot, I will look at that!

view this post on Zulip Srid (Jun 21 2024 at 22:01):

On a related note, this would be a good first issue to tackle for anyone looking to contribute to a Nix project:

https://github.com/juspay/nix-dev-home/issues/16

(The cool thing is to be able to nix run .. neovim with certain nixvim config, which is useful to be able to 'take your vim' wherever you go, such as when pairing on a coworker's machine)

view this post on Zulip Andreas (Jun 23 2024 at 16:00):

yeah that is an interesting issue. I will play a bit with Nixvim anyways, it looks a much nicer solution than my current Nvim config. I will have a look at it while I do

view this post on Zulip Andreas (Jun 23 2024 at 16:03):

so if I see this correctly (had to get the organization of the flake first), you use the home manager module approach to Nixvim?

view this post on Zulip Srid (Jun 23 2024 at 16:32):

That entire repo provides only home-manager config, yes.

But you can 'embed' it in nixos configuration in straightforward manner (like I do in srid/nixos-config using nixos-flake)


Last updated: Nov 15 2024 at 12:33 UTC