30 lines
671 B
Nix
30 lines
671 B
Nix
{ self, inputs, ... }: {
|
|
flake-file.inputs = {
|
|
nvf = {
|
|
url = "github:notashelf/nvf";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
perSystem = { system, pkgs, ... }: {
|
|
packages.my-neovim = (inputs.nvf.lib.neovimConfiguration {
|
|
inherit pkgs;
|
|
modules = [
|
|
{
|
|
config.vim = {
|
|
# Enable custom theming options
|
|
theme.enable = true;
|
|
|
|
# Enable Treesitter
|
|
treesitter.enable = true;
|
|
|
|
# Other options will go here. Refer to the config
|
|
# reference in Appendix B of the nvf manual.
|
|
# ...
|
|
};
|
|
}
|
|
];
|
|
})
|
|
.neovim;
|
|
};
|
|
} |