Hello all
I’m trying to set some parameters to the vimrc file so far I’ve got this:
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
wget
vimHugeX
smartmontools
x11vnc
vim_configurable.customize {
vimrcConfig.customRC = ''
set number
set mouse=v
'';
}
];
The corresponding manual: https://nixos.org/manual/nixpkgs/stable/#custom-configuration
and I get the following error message:
error: A definition for option `environment.systemPackages.[definition 1-entry 5]' is not of type `package'. Definition values:
- In `/etc/nixos/configuration.nix': <function, args: {executableName?, gvimExecutableName?, gvimrcFile?, name?, standalone?, vimExecutableName?, vimrcConfig?, vimrcFile?, wrapGui?, wrapManual?}>
(use '--show-trace' to show detailed location information)
what could be the problem?
also I found this post: https://discourse.nixos.org/t/trouble-with-vim-plugins-for-vim-customizable/1242
could this also play a role?