2022-06-11 12:32:09 +00:00
|
|
|
|
{
|
|
|
|
|
description = "Lotte’s nix packages";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
2022-07-08 10:46:38 +00:00
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs";
|
2022-07-08 11:00:58 +00:00
|
|
|
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-22.05";
|
2022-06-11 12:32:09 +00:00
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2022-06-11 12:55:50 +00:00
|
|
|
|
|
|
|
|
|
# Source files for packages
|
|
|
|
|
clean-s3-cache.url = "git+https://gist.github.com/DarkKirb/533e9e8b9b6dd1badf9b103b4285dc4e";
|
|
|
|
|
clean-s3-cache.flake = false;
|
2022-06-11 14:04:50 +00:00
|
|
|
|
miifox-net.url = "git+https://git.chir.rs/CarolineHusky/MiiFox.net";
|
|
|
|
|
miifox-net.flake = false;
|
2022-08-16 09:26:29 +00:00
|
|
|
|
mastodon.url = "git+https://git.kescher.at/kescher/catstodon?ref=develop";
|
2022-06-12 08:41:21 +00:00
|
|
|
|
mastodon.flake = false;
|
2022-06-12 13:06:20 +00:00
|
|
|
|
matrix-media-repo.url = "github:turt2live/matrix-media-repo";
|
|
|
|
|
matrix-media-repo.flake = false;
|
2022-06-12 14:28:17 +00:00
|
|
|
|
mautrix-whatsapp.url = "github:mautrix/whatsapp";
|
|
|
|
|
mautrix-whatsapp.flake = false;
|
2022-07-20 08:36:55 +00:00
|
|
|
|
mautrix-discord.url = "github:mautrix/discord";
|
|
|
|
|
mautrix-discord.flake = false;
|
2022-08-07 19:58:21 +00:00
|
|
|
|
mautrix-telegram.url = "github:mautrix/telegram";
|
|
|
|
|
mautrix-telegram.flake = false;
|
|
|
|
|
mautrix-signal.url = "github:mautrix/signal";
|
|
|
|
|
mautrix-signal.flake = false;
|
2022-06-12 13:06:20 +00:00
|
|
|
|
gomod2nix.url = "github:tweag/gomod2nix";
|
2022-06-14 04:55:29 +00:00
|
|
|
|
kreative-open-relay.url = "github:kreativekorp/open-relay";
|
|
|
|
|
kreative-open-relay.flake = false;
|
2022-06-14 14:11:01 +00:00
|
|
|
|
nasin-nanpa.url = "github:ETBCOR/nasin-nanpa";
|
|
|
|
|
nasin-nanpa.flake = false;
|
2022-06-28 08:51:16 +00:00
|
|
|
|
plover.url = "github:benoit-pierre/plover/wayland-sway";
|
2022-06-16 16:16:05 +00:00
|
|
|
|
plover.flake = false;
|
2022-06-19 12:31:22 +00:00
|
|
|
|
cargo2nix.url = "github:cargo2nix/cargo2nix";
|
2022-06-23 08:30:56 +00:00
|
|
|
|
drone-runner-docker.url = "github:drone-runners/drone-runner-docker";
|
|
|
|
|
drone-runner-docker.flake = false;
|
2022-06-24 05:35:12 +00:00
|
|
|
|
copilot-lua.url = "github:zbirenbaum/copilot.lua";
|
|
|
|
|
copilot-lua.flake = false;
|
|
|
|
|
copilot-cmp.url = "github:zbirenbaum/copilot-cmp";
|
|
|
|
|
copilot-cmp.flake = false;
|
2022-07-03 15:32:22 +00:00
|
|
|
|
hydra.url = "github:mlabs-haskell/hydra/aciceri/ca-derivations";
|
|
|
|
|
hydra-patched.url = "git+https://git.chir.rs/darkkirb/hydra?ref=hack";
|
|
|
|
|
hydra-base.url = "git+https://git.chir.rs/darkkirb/hydra?ref=hack&rev=3fdc9e491dc7d33bc09ef4f33984f87c8f478aa2";
|
2022-07-06 13:36:21 +00:00
|
|
|
|
steno-dictionaries.url = "github:didoesdigital/steno-dictionaries";
|
|
|
|
|
steno-dictionaries.flake = false;
|
2022-07-27 19:30:09 +00:00
|
|
|
|
plover-machine-hid.url = "git+https://git.chir.rs/darkkirb/plover-machine-hid";
|
|
|
|
|
plover-machine-hid.flake = false;
|
2022-08-09 15:15:15 +00:00
|
|
|
|
nvim-telescope-file-browser.url = "github:nvim-telescope/telescope-file-browser.nvim";
|
|
|
|
|
nvim-telescope-file-browser.flake = false;
|
2022-06-11 12:32:09 +00:00
|
|
|
|
};
|
|
|
|
|
|
2022-06-13 05:53:33 +00:00
|
|
|
|
outputs = {
|
|
|
|
|
self,
|
|
|
|
|
nixpkgs,
|
|
|
|
|
flake-utils,
|
|
|
|
|
...
|
|
|
|
|
} @ inputs:
|
2022-06-18 07:56:50 +00:00
|
|
|
|
flake-utils.lib.eachDefaultSystem (
|
2022-06-13 05:53:33 +00:00
|
|
|
|
system: let
|
2022-07-03 09:58:04 +00:00
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
|
inherit system;
|
|
|
|
|
};
|
2022-06-13 05:53:33 +00:00
|
|
|
|
in rec {
|
2022-06-11 12:32:09 +00:00
|
|
|
|
formatter = pkgs.alejandra;
|
|
|
|
|
|
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
|
|
|
statix
|
|
|
|
|
];
|
|
|
|
|
};
|
2022-06-11 12:36:59 +00:00
|
|
|
|
|
2022-07-19 12:07:10 +00:00
|
|
|
|
packages = pkgs.lib.lists.foldl (a: b: a // b) {} (map (f: import f {inherit pkgs inputs;}) ([
|
2022-07-20 08:36:55 +00:00
|
|
|
|
./scripts/clean-s3-cache.nix
|
|
|
|
|
./web/old-homepage.nix
|
|
|
|
|
./web/miifox-net.nix
|
|
|
|
|
./mastodon
|
|
|
|
|
./matrix/matrix-media-repo
|
|
|
|
|
./matrix/mautrix-whatsapp
|
|
|
|
|
./matrix/mautrix-discord
|
2022-08-07 19:58:21 +00:00
|
|
|
|
./matrix/mautrix-telegram.nix
|
|
|
|
|
./matrix/mautrix-signal.nix
|
2022-07-20 08:36:55 +00:00
|
|
|
|
./fonts/kreative.nix
|
|
|
|
|
./fonts/nasin-nanpa.nix
|
|
|
|
|
./plover
|
|
|
|
|
./plover/dicts.nix
|
|
|
|
|
./art
|
|
|
|
|
./ci/drone-runner-docker
|
|
|
|
|
./vim
|
|
|
|
|
./python/tarballs.nix
|
2022-08-08 07:13:57 +00:00
|
|
|
|
./python/packages.nix
|
2022-07-20 08:36:55 +00:00
|
|
|
|
]
|
|
|
|
|
++ (
|
|
|
|
|
if system == "x86_64-linux"
|
|
|
|
|
then [./hydra]
|
|
|
|
|
else []
|
|
|
|
|
)
|
|
|
|
|
++ (
|
|
|
|
|
if system != "i686-linux"
|
|
|
|
|
then [./minecraft/paper.nix]
|
|
|
|
|
else []
|
|
|
|
|
)));
|
2022-06-11 12:36:59 +00:00
|
|
|
|
|
2022-06-18 07:56:50 +00:00
|
|
|
|
hydraJobs =
|
2022-08-08 07:15:02 +00:00
|
|
|
|
if (system == "x86_64-linux") || (system == "aarch64-linux")
|
2022-06-18 07:56:50 +00:00
|
|
|
|
then {
|
2022-07-03 09:58:04 +00:00
|
|
|
|
inherit packages devShells formatter;
|
2022-06-19 12:31:22 +00:00
|
|
|
|
inherit (inputs.cargo2nix.packages.${system}) cargo2nix;
|
2022-07-07 07:57:00 +00:00
|
|
|
|
gomod2nix = inputs.gomod2nix.packages.${system}.default;
|
2022-06-18 07:56:50 +00:00
|
|
|
|
}
|
|
|
|
|
else {};
|
2022-06-11 12:32:09 +00:00
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
}
|