I’m installing Nixos since a few weeks and i like the philosophy .
My question is about neovim : no problem to configure it with home-manager.
However, after many searches, I can’t manage to configure neovim when I use it in root profile (for example : set number and relativenumber).
An idea ?
NB : I tried in configuration.nix that, but without success :
Hi everybody,
I’m installing Nixos since a few weeks and i like the philosophy .
My question is about neovim : no problem to configure it with home-manager.
However, after many searches, I can’t manage to configure neovim when I use it in root profile (for example : set number and relativenumber).
An idea ?
NB : I tried in configuration.nix that, but without success :
programs.neovim = {
enable = true;
defaultEditor = true;
configure = {
customRC = ''
set number relativenumber
#colorscheme blue
#colorscheme tokyo-night
'';
Hi,
Thanks a lot for your quick answer.
For my customRC, I was inspired by the nixos documentation here.
Concerning your 2nd question, I’ve not error when I use neovim in root : my settings (set number or relativenumber) don’t appear ; no error. it’s boring