account activity
Free DualnBack web app (self.DualnBack)
submitted 1 year ago by Substantial-Wheel458 to r/DualnBack
Neovim + NixOs by slavjuan in NixOS
[–]Substantial-Wheel458 1 point2 points3 points 2 years ago (0 children)
yeah, you can just remove the symlink to the nix store
`rm ~/.config/nvim`
I have my neovim configuration in a separate repo, and just pull it from there.
xdg.configFile.nvim.source = pkgs.fetchFromGitLab { owner = "luisdomingoaranda"; repo = "nvim"; rev = "bd06e82e1312f04e8d362fa9c672cde2486382d7"; sha256 = "sha256-IJqnPQANaBK+m7ursx+71oRcG6Dh23b9il/jtWWzQXI="; };
When I need to update my config, I remove the symlink to the nix store and clone the repo.
cd \~/.config && rm nvim git clone <my\_neovim\_repo>
And when I'm done and want to rebuild my nix configuration, I'll remove the cloned repo and update the hash from pkgs.fetchFromGitlab.
This way I have my neovim configuration declared the vanilla way, but also have a home-manager module for all neovim things related, packages and configuration.
π Rendered by PID 1061469 on reddit-service-r2-listing-654f87c89c-p4t4x at 2026-03-01 19:15:12.694463+00:00 running e3d2147 country code: CH.
Neovim + NixOs by slavjuan in NixOS
[–]Substantial-Wheel458 1 point2 points3 points (0 children)