This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
opdavies.nvim/flake.nix
Oliver Davies 87bf614625 Move dependencies into the Neovim flake
Move all plugins and dependencies from dotfiles.nix to the `neovim`
package in opdavies.nvim.

Based on 2fdd35dd39/lib/default.nix.
2024-01-25 01:42:56 +00:00

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;
};
};
}