2022-06-11 12:32:09 +00:00
|
|
|
|
{
|
|
|
|
|
description = "Lotte’s nix packages";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs";
|
2022-06-17 14:28:28 +00:00
|
|
|
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-21.11";
|
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-06-12 08:41:21 +00:00
|
|
|
|
mastodon.url = "github:glitch-soc/mastodon";
|
|
|
|
|
mastodon.flake = false;
|
2022-06-12 13:06:20 +00:00
|
|
|
|
nixpkgs-go116.url = "github:NixOS/nixpkgs/dab5668f6be905a7f0de39a7d67fd8f78a13d600";
|
|
|
|
|
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-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-16 16:16:05 +00:00
|
|
|
|
plover.url = "github:openstenoproject/plover";
|
|
|
|
|
plover.flake = false;
|
2022-06-17 09:24:01 +00:00
|
|
|
|
regenpfeifer.url = "github:mkrnr/regenpfeifer";
|
|
|
|
|
regenpfeifer.flake = false;
|
|
|
|
|
wortformliste.url = "github:mkrnr/wortformliste";
|
|
|
|
|
wortformliste.flake = false;
|
2022-06-11 12:32:09 +00:00
|
|
|
|
};
|
|
|
|
|
|
2022-06-13 05:53:33 +00:00
|
|
|
|
outputs = {
|
|
|
|
|
self,
|
|
|
|
|
nixpkgs,
|
|
|
|
|
flake-utils,
|
|
|
|
|
...
|
|
|
|
|
} @ inputs:
|
|
|
|
|
flake-utils.lib.eachSystem ["aarch64-linux" "x86_64-linux"] (
|
|
|
|
|
system: let
|
|
|
|
|
pkgs = import nixpkgs {inherit system;};
|
|
|
|
|
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-06-13 05:53:33 +00:00
|
|
|
|
packages = pkgs.lib.lists.foldl (a: b: a // b) {} (map (f: import f {inherit pkgs inputs;}) [
|
2022-06-11 13:52:40 +00:00
|
|
|
|
./scripts/clean-s3-cache.nix
|
|
|
|
|
./web/old-homepage.nix
|
2022-06-11 14:04:50 +00:00
|
|
|
|
./web/miifox-net.nix
|
2022-06-11 19:08:11 +00:00
|
|
|
|
./minecraft/paper.nix
|
2022-06-12 08:41:21 +00:00
|
|
|
|
./mastodon
|
2022-06-12 13:06:20 +00:00
|
|
|
|
./matrix/matrix-media-repo
|
2022-06-12 14:28:17 +00:00
|
|
|
|
./matrix/mautrix-whatsapp
|
2022-06-14 04:55:29 +00:00
|
|
|
|
./fonts/kreative.nix
|
2022-06-14 14:11:01 +00:00
|
|
|
|
./fonts/nasin-nanpa.nix
|
2022-06-16 16:16:05 +00:00
|
|
|
|
./misc/plover.nix
|
2022-06-11 13:52:40 +00:00
|
|
|
|
]);
|
2022-06-11 12:36:59 +00:00
|
|
|
|
|
|
|
|
|
hydraJobs = {
|
|
|
|
|
inherit packages devShells;
|
|
|
|
|
};
|
2022-06-11 12:32:09 +00:00
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
}
|