dea-files/homemanager/nvf.nix

34 lines
766 B
Nix

{ pkgs, ... }:
let
candyland-nvim = pkgs.vimUtils.buildVimPlugin {
pname = "candyland-nvim";
version = "1.0";
src = pkgs.fetchFromGitHub {
owner = "AmberLehmann";
repo = "candyland.nvim";
rev = "neovim-colorscheme";
hash = "sha256-KEHMnpyJOhdF8ZPWuKF3uP7UX5fnzE31LMe+XxHK+i8=";
};
};
in
{
programs.nvf = {
enable = true;
# Your settings need to go into the settings attribute set
# most settings are documented in the appendix
settings = {
vim.viAlias = false;
vim = {
vimAlias = true;
lsp.enable = true;
extraPlugins.candyland-nvim = {
package = candyland-nvim;
setup = "vim.cmd([[colorscheme candyland]])";
};
theme.enable = false;
};
};
};
}