2021-12-14 17:54:48 +00:00
|
|
|
{
|
|
|
|
description = "Collection of (useful) tools";
|
2023-05-10 21:29:38 +00:00
|
|
|
inputs = {
|
2023-10-05 16:12:34 +00:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
2021-12-14 17:54:48 +00:00
|
|
|
|
2023-05-10 23:04:05 +00:00
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
2023-05-10 21:29:38 +00:00
|
|
|
};
|
|
|
|
|
2023-05-10 23:04:05 +00:00
|
|
|
outputs = inputs@{ flake-parts, ... }:
|
|
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
|
|
systems = [
|
2021-12-14 17:54:48 +00:00
|
|
|
"aarch64-darwin"
|
|
|
|
"x86_64-darwin"
|
2022-07-31 18:41:26 +00:00
|
|
|
"x86_64-linux"
|
2023-05-10 23:04:05 +00:00
|
|
|
"aarch64-linux"
|
|
|
|
];
|
2023-05-10 21:29:38 +00:00
|
|
|
|
2023-05-10 23:04:05 +00:00
|
|
|
imports = [
|
|
|
|
flake-parts.flakeModules.easyOverlay
|
|
|
|
];
|
2023-05-10 21:29:38 +00:00
|
|
|
|
2023-05-10 23:04:05 +00:00
|
|
|
perSystem = { inputs', system, config, pkgs, lib, ... }: {
|
|
|
|
packages =
|
|
|
|
let
|
2024-05-08 20:06:42 +00:00
|
|
|
inherit (pkgs) callPackage;
|
|
|
|
|
2023-05-10 23:04:05 +00:00
|
|
|
darwinPackages =
|
2024-05-08 20:06:42 +00:00
|
|
|
if lib.hasSuffix "darwin" system then {
|
|
|
|
cliclick = callPackage ./packages/cliclick.nix { };
|
|
|
|
phantomjs = callPackage ./packages/phantomjs.nix { };
|
|
|
|
tabnine = callPackage ./packages/tabnine { };
|
2024-06-09 17:36:09 +00:00
|
|
|
vfkit = callPackage ./packages/vfkit.nix { };
|
2023-10-05 16:12:34 +00:00
|
|
|
} else { };
|
2023-05-10 23:04:05 +00:00
|
|
|
in
|
|
|
|
{
|
2024-05-08 20:06:42 +00:00
|
|
|
anonymous-overflow = callPackage ./packages/anonymous-overflow.nix { };
|
|
|
|
bulk-downloader-for-reddit = callPackage ./packages/bulk-downloader-for-reddit.nix { };
|
|
|
|
discord-downloader-go = callPackage ./packages/discord-downloader-go.nix { };
|
|
|
|
fennel-ls = callPackage ./packages/fennel-ls.nix { };
|
|
|
|
headscale-ui = callPackage ./packages/headscale-ui.nix { };
|
|
|
|
q = callPackage ./packages/q.nix { };
|
|
|
|
redlib = callPackage ./packages/redlib.nix { };
|
|
|
|
rexit = callPackage ./packages/rexit.nix { };
|
|
|
|
tg-archive = callPackage ./packages/tg-archive.nix { };
|
|
|
|
vuetorrent = callPackage ./packages/vuetorrent.nix { };
|
|
|
|
weewx-proxy = callPackage ./packages/weewx-proxy.nix { };
|
2023-05-10 23:04:05 +00:00
|
|
|
} // darwinPackages;
|
2021-12-14 17:54:48 +00:00
|
|
|
|
2023-05-10 23:04:05 +00:00
|
|
|
overlayAttrs = config.packages;
|
|
|
|
};
|
|
|
|
|
|
|
|
flake = {
|
|
|
|
overlay = inputs.self.overlays.default;
|
|
|
|
};
|
|
|
|
};
|
2021-12-14 17:54:48 +00:00
|
|
|
}
|