nix-config
nvim
nix-config | nvim | |
---|---|---|
5 | 3 | |
747 | 11 | |
- | - | |
8.8 | 9.7 | |
3 days ago | 4 days ago | |
Nix | Lua | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nix-config
-
Best way to setup Nvim on NixOS?
Power user, gvolpe has a great config that heavily customizes nvim.
-
Adding a Flake to my Config
I forked and customized a fairly advanced Nixos configuration that I can load from a flake on github. (Mine | Original)
-
Host-specific settings (different approaches)
I think gvolpe's nix-config repo is what u/ppen9u1n was referencing. Looks like there might be some good ideas to mine there.
-
Trying to port all official Cardano software to an open architecture and a more elegant Linux distro than Debian (NixOS on Risc-V) and this is the pushback I get.
I've seen this done with flakes by a NixOS power user named gvolpe. He has it configured to automatically setup each of his different systems with Home Manager, a custom UI, etc. His three different build targets are:
-
Nix-GUI: Make NixOS usable for non-technical users through settings / GUI
I think NixOS would benefit from easily accessible collection of opinionated modules/profiles/configurations with minimal set of options. Something like gnome-desktop / sway-desktop / etc. Gnome actually does pretty good job here.
The point is: currently my NixOS and Home Manager configurations have over 2k LOC total. When you search for configurations on GitHub/Google you are likely to find complex ones. For example, quick search for "nixos gnome" (Google) gives me link to NixOS Wiki (which describes only Gnome part) and blog post (https://gvolpe.com/blog/gnome3-on-nixos/) which is useful but links to really huge configuration (https://github.com/gvolpe/nix-config) that is overwhelming to any beginner.
Great example of such approach is nixos-hardware (https://github.com/NixOS/nixos-hardware) which provides one-line configuration covering hardware quirks.
nvim
-
`haskell-tools.nvim` 1.9.0 - Minimising the impact on Neovim's startup footprint with ftplugin support
Here is an example from my personal dotfiles.
-
Less known package managers
Recently completed my migration to a customised NixOS module that manages most plugins as flake inputs, and allows me to impurely bootstrap the plugins I maintain myself.
-
Best way to setup Nvim on NixOS?
LunarVim uses packer to manage plugins (which isn't as reproducible as nix). I'm not aware of a LunarVim module or wrapper, so you might have to package it yourself. But if you want to use packer (and don't care so much about reproducibility for your neovim plugins), you can just use home-manager to set xdg.configFile."nvim" = ... like I do in my neovim config.
What are some alternatives?
devshell - Per project developer environments
neovim-config - Home for my personal configuration of NeoVim.
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
neovim-flake - Nix flake for neovim with configuration
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
nvim-nix - A reproducible batteries-included neovim config
visual-studio-code-insiders-nix - The latest Visual Studio Code Insiders build updated daily
nixvim - Configure Neovim with Nix! [maintainer=@pta2002, @traxys, @GaetanLepage]
nixpkgs - My Nix system configs!
haskell-tools.nvim - Supercharge your Haskell experience in neovim!
dotfiles - My dotfiles
neovim-flake - Nix flake for Neovim & Scala Metals