My Nixvim config keeps throwing an error when I try to build it. Commenting it the config builds cleanly.
Any help / ideas would be greatly appreciated
the error is:
Module `:anon-8:anon-1’ has an unsupported attribute `enable’. This is caused by introducing a top-level `config’ or `options’ attribute.
The config itself is like this:
imports = [
inputs.nixvim.homeManagerModules.nixvim
];
programs.nixvim = {
enable = true;
globals.mapleader = " ";
options.number = true;
options.relativenumber = true;
programs.nixvim.config = {
colorschemes = {
catppuccin = {
settings = {
flavour = “mocha”;
};
};
};
};
};