nixvim
nixvim | nixos-configuration | |
---|---|---|
11 | 11 | |
1,179 | 139 | |
7.8% | - | |
9.9 | 9.2 | |
about 3 hours ago | 5 days ago | |
Nix | Nix | |
MIT License | - |
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.
nixvim
-
Use traditional config on nixos with nixvim
# .../nixvim.nix { config, pkgs, lib, ... }: let myConfig = builtins.fetchGit { url = "https://github.com/myusername/nvim"; ref = "master"; }; nixvim = import (builtins.fetchGit { url = "https://github.com/nix-community/nixvim"; ref = "nixos-23.05"; }); sqliteLibPath = lib.makeLibraryPath [ pkgs.sqlite ]; in { imports = [ nixvim.homeManagerModules.nixvim ]; home.activation.copyLuaConfig = lib.hm.dag.entryAfter [ "writeBoundary" ] '' if [ ! -d ${config.xdg.configHome}/nvim ]; then mkdir -p ${config.xdg.configHome}/nvim fi shopt -s extglob cp -r ${myConfig}/!(init.lua) ${config.xdg.configHome}/nvim ''; programs.nixvim = { extraPackages = [ pkgs.sqlite ]; enable = true; extraConfigLua = '' vim.g.sqlite_clib_path = "${sqliteLibPath}" .. "/libsqlite3.so" '' + builtins.readFile "${myConfig}/init.lua"; }; }
-
Nix flakes + IDE integration?
For NeoVim there is https://github.com/nix-community/nixvim. I wrote a blog post some time ago how you can achieve integrated development tooling with flakes + nixvim: https://juuso.dev/blogPosts/modular-neovim/modular-neovim-with-nix.html
- NixVim – A Neovim configuration system for Nix
-
Packaging neovim configuration using Nix
I would propose to try Nixvim.
-
Neovim flake Updates
Cool. Have you checked nixvim? Tons of options, and quite straightforward to include your own in the right place.
-
using NixOS as a developer
I use plain in the sense that it isn't configured for me, but I use this flake to make it easy to do so myself https://github.com/pta2002/nixvim
-
Nixvim: A Neovim configuration system for nix
I am one of the maintainers of nixvim and I wanted to present it here.
-
Settings for a neovim plugin in home-manager
This isn't exactly the answer for your problem but I've been using this for my config and haven't looked back. https://github.com/pta2002/nixvim
-
Best way to setup Nvim on NixOS?
Now, if you want to adopt a more "nixy" approach, I suggest you to take a look at nixvim. I do not use this project personally but it looks very promising.
- NixVim: Configure Neovim with Nix
nixos-configuration
-
Composable configuration bundles?
You can create custom nixos modules and enable them in desired systems. E.g. Here is my custom gaming module and here I enable it for one of my machines.
-
Installed package within environment.systemPackages will not persist to next boot with Flakes
Sure, here is my rpi config. I'll need to check the bootloader file later and let you know.
-
Devenv, Poetry, and Helix
I have slightly different workflow (direnv + flakes + poetry + nvim). Take a look at my template. You can put this flake.nix file in a poetry based project and type nix develop to enter a shell with activated poetry venv and all dependencies installed. Launch helix from this shell and you are good to go.
-
How do I use pip on NixOS?
This is great. I have a very simmilar flake, but with venvShellHook so venv is also activated when I enter the project directort.
-
Really have some trouble setup a minimal Neovim flake
If you need reference, I have my setup on github.
-
Flake to make NixOS iso
Sorry from the invalid command, that is a derp from my side :x I also use zsh, but I don't have the same issue with # and I don't do anything special in my config to mitigate this... You can also use a backslash to escape this character (tab completion always inserts it for me). Anyway this is my zsh config if you need a reference.
-
Examples of Theming Gnome with Nix, the "right way"?
Gnome can be configured programatically with dconf. You can use dconf-editor to explore available options and than set some option declaratively with home-manager. I use ths method to configure wallpaper, night light and gnome-terminal, but there are much more options. My config for reference.
-
Settings for a neovim plugin in home-manager
treesitter config file
-
Should i get into nix? primarily IAC / "devops" with some golang dev via vscode
Devops with Kubernetes, Go and Python here. Nix works great for this usecase, having all my tools defined in a single file is amazing. Although I mainly use Neovim, VSCode works fine as well. You can use such extension or simply enter a nix shell in the terminal and launch code . from there.
-
Will you move from Packer to Lazy ?
https://github.com/LongerHV/neovim-plugins-overlay/blob/master/flake.nix https://github.com/LongerHV/nixos-configuration/tree/master/dotfiles/nvim/lua/config
What are some alternatives?
neovim-copilot-nix-bundle - Run Neovim with GitHub Copilot out of the box
neovim-with-lazy.nvim-manager - This Is my latest neovim lua config
neovim-flake - Nix flake for neovim with configuration
neovim-nightly-overlay - [maintainer=@Kranzes]
template-rust - A template for rust projects utilizing Nix flakes
LazyVim - Neovim config for the lazy
nvim-nix - A reproducible batteries-included neovim config
neovim-plugins-overlay
nvim - Straightforward and pure Lua based Neovim configuration for my work as DevOps/Cloud Engineer with batteries included for Python, Golang, and, of course, YAML
neovim - Vim-fork focused on extensibility and usability
neovim-flake - Nix flake for Neovim & Scala Metals
nvfetcher - Generate nix sources expr for the latest version of packages