Re-add Neovim configuration files

Re-included from https://github.com/opdavies/opdavies.nvim.
This commit is contained in:
Oliver Davies 2024-10-09 18:32:36 +01:00
parent 634bf71c6e
commit 8244e157fd
48 changed files with 1864 additions and 97 deletions

View file

@ -8,10 +8,6 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
opdavies-nvim.inputs.nixpkgs.follows = "nixpkgs";
opdavies-nvim.url = "github:opdavies/opdavies.nvim";
# opdavies-nvim.url = "path:/home/opdavies/Code/opdavies.nvim";
};
outputs =
@ -40,9 +36,17 @@
mkWsl = import ./lib/wsl2 { inherit inputs self username; };
inherit (pkgs) mkShell;
inherit (pkgs.vimUtils) buildVimPlugin;
in
{
packages.${system}.default = mkShell { buildInputs = with pkgs; [ bashInteractive ]; };
packages.${system} = {
default = mkShell { buildInputs = with pkgs; [ bashInteractive ]; };
opdavies-nvim = buildVimPlugin {
name = "opdavies-nvim";
src = ./config/neovim;
};
};
formatter.${system} = pkgs.nixfmt-rfc-style;