juspay / nix-dev-home

A `home-manager` template providing useful tools & settings for Nix-based development (macOS & Linux supported)
GNU Affero General Public License v3.0
95 stars 32 forks source link

Add a flake app for running our neovim config #16

Open srid opened 4 months ago

srid commented 4 months ago

nix run github:juspay/nix-dev-home#neovim should run neovim with the config in this repo, without depending on any of user's dotfiles or local $HOME cache.

cf. https://old.reddit.com/r/NixOS/comments/1aulb75/easy_neovim_with_configuration_and_runnable_with/

shivaraj-bh commented 3 months ago

Mic92 has a runnable nvim config: https://github.com/Mic92/dotfiles?tab=readme-ov-file#use-my-nvim-configuration-as-a-standalone-without-installing-dotfiles

srid commented 3 months ago

It's not generic enough.

https://github.com/Mic92/dotfiles/blob/b2ff14454465c10d00c4239eea0785583ddf9a35/home-manager/modules/neovim/nvim-standalone.nix#L3-L30

We want something that works with our nixvim configuration.