painless-neovim/flake.nix

40 lines
818 B
Nix

{
inputs = {
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "nixos-unstable";
};
nvf = {
type = "github";
owner = "NotAShelf";
repo = "nvf";
};
basix = {
type = "github";
owner = "NotAShelf";
repo = "Basix";
};
};
outputs = inputs @ {nixpkgs, ...}: let
systems = ["x86_64-linux"];
forAllSystems = f:
nixpkgs.lib.genAttrs systems (system:
f (import inputs.nixpkgs {
inherit system;
}));
in {
packages = forAllSystems (pkgs: {
default =
(inputs.nvf.lib.neovimConfiguration {
modules = [
./nvf.nix
];
inherit pkgs;
extraSpecialArgs = {inherit inputs;};
})
.neovim;
});
};
}