1
0
Fork 0
nix-overlay/flake.nix

34 lines
731 B
Nix

{
description = "Collection of (useful) tools";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
neovim-flake = {
url = "github:neovim/neovim?dir=contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, ... }: {
packages = nixpkgs.lib.genAttrs
[
"aarch64-darwin"
"x86_64-darwin"
"aarch64-linux"
"x86_64-linux"
]
(system: import ./packages.nix {
inherit system;
inherit (nixpkgs) lib;
pkgs = nixpkgs.legacyPackages.${system};
otherPkgs = {
neovim = inputs.neovim-flake.packages.${system};
};
});
overlay = import ./overlay.nix;
};
}