1
0
Fork 0
nix-overlay/flake.nix
Daniel Kempkens a0e19e7cd6
All checks were successful
Build / build-amd64-linux (push) Successful in 2m37s
Build / build-arm64-linux (push) Successful in 14m32s
neovim: update flake
2024-02-15 11:58:47 +01:00

63 lines
2.5 KiB
Nix

{
description = "Collection of (useful) tools";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
flake-parts.url = "github:hercules-ci/flake-parts";
neovim-flake = {
url = "github:neovim/neovim?dir=contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-darwin"
"x86_64-darwin"
"x86_64-linux"
"aarch64-linux"
];
imports = [
flake-parts.flakeModules.easyOverlay
];
perSystem = { inputs', system, config, pkgs, lib, ... }: {
packages =
let
darwinPackages =
if lib.hasSuffix "darwin" system then rec {
agilebits-op = import ./packages/agilebits-op.nix { inherit pkgs lib; };
cliclick = import ./packages/cliclick.nix { inherit pkgs lib; };
phantomjs = import ./packages/phantomjs.nix { inherit pkgs lib; };
tabnine = import ./packages/tabnine { inherit pkgs lib; };
} else { };
in
{
anonymous-overflow = import ./packages/anonymous-overflow.nix { inherit pkgs lib; };
bulk-downloader-for-reddit = import ./packages/bulk-downloader-for-reddit.nix { inherit pkgs lib; };
discord-downloader-go = import ./packages/discord-downloader-go.nix { inherit pkgs lib; };
fennel-ls = import ./packages/fennel-ls.nix { inherit pkgs lib; };
headscale-ui = import ./packages/headscale-ui.nix { inherit pkgs lib; };
lexical = import ./packages/lexical.nix { inherit pkgs lib; };
neovim-nightly = import ./packages/neovim-nightly.nix { inherit (inputs'.neovim-flake.packages) neovim; inherit pkgs lib; };
q = import ./packages/q.nix { inherit pkgs lib; };
redlib = import ./packages/redlib.nix { inherit pkgs lib; };
rexit = import ./packages/rexit.nix { inherit pkgs lib; };
rimgo = import ./packages/rimgo.nix { inherit pkgs lib; };
tg-archive = import ./packages/tg-archive.nix { inherit pkgs lib; };
vuetorrent = import ./packages/vuetorrent.nix { inherit pkgs lib; };
weewx-proxy = import ./packages/weewx-proxy.nix { inherit pkgs lib; };
} // darwinPackages;
overlayAttrs = config.packages;
};
flake = {
overlay = inputs.self.overlays.default;
};
};
}