Just make sure your user's Nix profile is included in your XDG paths like so, and the .desktop files Nix installs will get picked up by your DE: https://nixos.wiki/wiki/Nix_Cookbook#Desktop_environment_doe...
If you really want to stay on top of the bleeding edge, you can use this overlay to run prebuilt copies of Neovim nightly on any distro: https://github.com/nix-community/neovim-nightly-overlay
To ensure that the Nix installation itself is easily removable and sets everything up correctly for you, use the Determinate Nix Installer for a fast and easy installation: https://github.com/DeterminateSystems/nix-installer
In case you don't want to wait for the final package to land in Nixpkgs, command for installing 0.9 from that PR branch after using the above Nix installer is
nix profile install github:GaetanLePage/nixpkgs/neovim#neovim
which will build from source against that PR branch.Nix can be a great complement to a stable, conventional base system like Debian for use cases like this. I hope you give it a try!
cd ~
wget --quiet https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage --output-document nvim
chmod +x nvim
sudo chown root:root nvim
sudo mv nvim /usr/bin
mkdir -p .config/nvim
To uninstall, one would delete the binary, and .config/nvim + any other folders specified in your plugin manager.1. https://launchpad.net/~neovim-ppa/+archive/ubuntu/stable 2. https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable
Not sure if adding ppas is the problem, i think that's ok, but making packages when none exist is more of a hassle.
rm -rf ~/.local/{bin,share}/nvim