Oliver Davies
87bf614625
Move all plugins and dependencies from dotfiles.nix to the `neovim`
package in opdavies.nvim.
Based on 2fdd35dd39/lib/default.nix
.
24 lines
585 B
Nix
24 lines
585 B
Nix
{
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
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
|
|
{
|
|
packages = { inherit default neovim; };
|
|
|
|
formatter = pkgs.nixpkgs-fmt;
|
|
};
|
|
};
|
|
}
|