painless-neovim/flake.nix

41 lines
818 B
Nix
Raw Normal View History

2024-11-25 16:50:51 +00:00
{
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";
};
2024-11-25 16:50:51 +00:00
};
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
2024-11-25 16:50:51 +00:00
];
inherit pkgs;
extraSpecialArgs = {inherit inputs;};
2024-11-25 16:50:51 +00:00
})
.neovim;
});
};
}