Oliver Davies
3afe1bd12b
* Remove some unused plugins and packages. * e.g. floaterm, projectionist, vim-wiki, vim-easy-align, vim-surround, visual-star-search, vim-rhubarb * Replace none-ls with conform.nvim and nvim-lint. * Replace lualine.nvim with mini-statusline. * Add neodev. * Simplify cmp completion sources.
38 lines
767 B
Nix
38 lines
767 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nixpkgs-2305.url = "github:NixOS/nixpkgs/nixos-23.05";
|
|
};
|
|
|
|
outputs = inputs @ {
|
|
self,
|
|
flake-parts,
|
|
...
|
|
}:
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
flake = {
|
|
lib = import ./lib {inherit inputs;};
|
|
};
|
|
|
|
systems = ["x86_64-linux"];
|
|
|
|
perSystem = {
|
|
pkgs,
|
|
self',
|
|
system,
|
|
...
|
|
}: let
|
|
default = self.lib.mkVimPlugin {inherit system;};
|
|
neovim = self.lib.mkNeovim {inherit system;};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
nativeBuildInputs = [pkgs.just];
|
|
};
|
|
|
|
packages = {inherit default neovim;};
|
|
|
|
formatter = pkgs.alejandra;
|
|
};
|
|
};
|
|
}
|