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";
|
2023-03-10 08:06:28 +00:00
|
|
|
|
flake-utils.url = "github:DarkKirb/flake-utils";
|
2023-01-16 09:02:58 +00:00
|
|
|
|
flake-compat = {
|
2023-10-10 14:24:53 +00:00
|
|
|
|
url = "github:edolstra/flake-compat/4f910c9827911b1ec2bf26b5a062cd09f8d89f85";
|
2023-01-16 09:02:58 +00:00
|
|
|
|
flake = false;
|
|
|
|
|
};
|
2023-03-10 08:06:28 +00:00
|
|
|
|
mautrix-cleanup = {
|
|
|
|
|
url = "github:DarkKirb/mautrix-cleanup";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
|
|
|
|
};
|
2023-04-21 13:51:47 +00:00
|
|
|
|
gomod2nix = {
|
2023-05-09 16:42:05 +00:00
|
|
|
|
url = "github:DarkKirb/gomod2nix";
|
2023-04-21 14:43:38 +00:00
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
inputs.utils.follows = "flake-utils";
|
2023-04-21 13:51:47 +00:00
|
|
|
|
};
|
2023-04-22 06:59:53 +00:00
|
|
|
|
hydra = {
|
2023-05-30 06:56:00 +00:00
|
|
|
|
url = "git+https://git.chir.rs/darkkirb/hydra";
|
2023-04-22 06:59:53 +00:00
|
|
|
|
};
|
2022-06-11 12:32:09 +00:00
|
|
|
|
};
|
|
|
|
|
|
2022-06-13 05:53:33 +00:00
|
|
|
|
outputs = {
|
2023-04-22 14:40:58 +00:00
|
|
|
|
self,
|
2022-06-13 05:53:33 +00:00
|
|
|
|
nixpkgs,
|
|
|
|
|
flake-utils,
|
|
|
|
|
...
|
2023-04-22 14:40:58 +00:00
|
|
|
|
}:
|
2022-11-27 14:06:17 +00:00
|
|
|
|
flake-utils.lib.eachSystem ["aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux" "riscv64-linux"] (
|
2022-06-13 05:53:33 +00:00
|
|
|
|
system: let
|
2022-07-03 09:58:04 +00:00
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
|
inherit system;
|
2022-09-25 13:57:21 +00:00
|
|
|
|
config.allowUnfree = true;
|
2022-11-28 13:33:03 +00:00
|
|
|
|
config.allowUnsupportedSystem = true;
|
2023-04-21 13:51:47 +00:00
|
|
|
|
overlays = [
|
2023-04-22 14:40:58 +00:00
|
|
|
|
self.overlays.${system}.default
|
2023-04-21 13:51:47 +00:00
|
|
|
|
];
|
2022-07-03 09:58:04 +00:00
|
|
|
|
};
|
2022-06-13 05:53:33 +00:00
|
|
|
|
in rec {
|
2022-06-11 12:32:09 +00:00
|
|
|
|
formatter = pkgs.alejandra;
|
|
|
|
|
|
2023-04-22 14:40:58 +00:00
|
|
|
|
overlays.default = import ./overlay.nix system;
|
|
|
|
|
|
2022-06-11 12:32:09 +00:00
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
|
|
|
statix
|
2022-08-18 08:28:31 +00:00
|
|
|
|
nix-prefetch
|
2022-06-11 12:32:09 +00:00
|
|
|
|
];
|
|
|
|
|
};
|
2022-06-11 12:36:59 +00:00
|
|
|
|
|
2023-03-24 07:53:11 +00:00
|
|
|
|
packages =
|
|
|
|
|
{
|
2023-04-22 14:40:58 +00:00
|
|
|
|
inherit
|
|
|
|
|
(pkgs)
|
|
|
|
|
akkoma
|
2023-08-05 15:25:06 +00:00
|
|
|
|
akkoma-fe
|
2023-04-22 14:40:58 +00:00
|
|
|
|
admin-fe
|
|
|
|
|
emoji-lotte
|
|
|
|
|
emoji-volpeon-blobfox
|
|
|
|
|
emoji-volpeon-blobfox-flip
|
|
|
|
|
emoji-volpeon-bunhd
|
|
|
|
|
emoji-volpeon-bunhd-flip
|
|
|
|
|
emoji-volpeon-drgn
|
|
|
|
|
emoji-volpeon-fox
|
|
|
|
|
emoji-volpeon-gphn
|
|
|
|
|
emoji-volpeon-raccoon
|
|
|
|
|
emoji-volpeon-vlpn
|
2023-07-01 13:58:12 +00:00
|
|
|
|
emoji-volpeon-neofox
|
2023-08-12 11:07:49 +00:00
|
|
|
|
emoji-volpeon-neocat
|
2023-04-22 14:40:58 +00:00
|
|
|
|
emoji-caro
|
|
|
|
|
lotte-art
|
|
|
|
|
alco-sans
|
|
|
|
|
constructium
|
|
|
|
|
fairfax
|
|
|
|
|
fairfax-hd
|
|
|
|
|
kreative-square
|
|
|
|
|
nasin-nanpa
|
|
|
|
|
matrix-media-repo
|
|
|
|
|
mautrix-discord
|
|
|
|
|
mautrix-whatsapp
|
|
|
|
|
mautrix-signal
|
|
|
|
|
mautrix-telegram
|
2023-04-22 15:07:13 +00:00
|
|
|
|
python-mautrix
|
2023-04-22 14:40:58 +00:00
|
|
|
|
python-tulir-telethon
|
|
|
|
|
papermc
|
|
|
|
|
python-plover-stroke
|
|
|
|
|
python-rtf-tokenize
|
|
|
|
|
plover
|
2023-04-22 15:07:13 +00:00
|
|
|
|
plover-plugins-manager
|
2023-04-22 14:40:58 +00:00
|
|
|
|
python-simplefuzzyset
|
2023-04-22 15:07:13 +00:00
|
|
|
|
plover-plugin-emoji
|
|
|
|
|
plover-plugin-tapey-tape
|
|
|
|
|
plover-plugin-yaml-dictionary
|
2023-04-22 14:40:58 +00:00
|
|
|
|
plover-plugin-machine-hid
|
|
|
|
|
plover-plugin-rkb1-hid
|
2023-09-30 13:14:13 +00:00
|
|
|
|
plover-plugin-dotool-output
|
2023-04-22 15:07:13 +00:00
|
|
|
|
plover-dict-didoesdigital
|
2023-04-22 14:40:58 +00:00
|
|
|
|
miifox-net
|
|
|
|
|
old-homepage
|
2023-04-22 15:07:13 +00:00
|
|
|
|
python-instagram
|
2023-04-22 14:40:58 +00:00
|
|
|
|
element-web
|
|
|
|
|
mautrix-cleanup
|
|
|
|
|
woodpecker-agent
|
|
|
|
|
woodpecker-cli
|
|
|
|
|
woodpecker-frontend
|
|
|
|
|
woodpecker-server
|
2023-04-25 06:52:51 +00:00
|
|
|
|
wordpress-plugins
|
2023-04-27 09:28:50 +00:00
|
|
|
|
wordpress-themes
|
2023-05-09 16:42:05 +00:00
|
|
|
|
kubo
|
2023-06-09 19:02:44 +00:00
|
|
|
|
hydra
|
|
|
|
|
hydra-unstable
|
2023-07-06 16:13:52 +00:00
|
|
|
|
plover-plugin-python-dictionary
|
2023-07-09 15:40:19 +00:00
|
|
|
|
plover-plugin-stenotype-extended
|
2023-09-01 08:00:08 +00:00
|
|
|
|
asar-asm
|
2023-07-19 12:21:58 +00:00
|
|
|
|
bsnes-plus
|
2023-08-09 08:22:39 +00:00
|
|
|
|
sliding-sync
|
2023-04-22 14:40:58 +00:00
|
|
|
|
;
|
2023-03-24 07:53:11 +00:00
|
|
|
|
}
|
|
|
|
|
// (
|
|
|
|
|
if system == "riscv64-linux"
|
2023-04-22 14:40:58 +00:00
|
|
|
|
then {
|
2023-06-26 06:22:29 +00:00
|
|
|
|
inherit (pkgs) vf2Kernel valgrind;
|
2023-03-24 07:53:11 +00:00
|
|
|
|
}
|
|
|
|
|
else {}
|
2023-06-25 13:07:35 +00:00
|
|
|
|
)
|
|
|
|
|
// (
|
|
|
|
|
if system == "x86_64-linux"
|
|
|
|
|
then {
|
2023-06-25 13:24:37 +00:00
|
|
|
|
inherit (pkgs) linux-bcachefs bcachefs-tools;
|
2023-06-25 13:07:35 +00:00
|
|
|
|
}
|
|
|
|
|
else {}
|
2023-04-22 14:40:58 +00:00
|
|
|
|
);
|
2023-03-24 07:53:11 +00:00
|
|
|
|
|
|
|
|
|
modules = import ./modules;
|
|
|
|
|
lib = import ./lib {inherit pkgs;};
|
2022-06-11 12:36:59 +00:00
|
|
|
|
|
2023-06-16 05:40:20 +00:00
|
|
|
|
hydraJobs = {
|
|
|
|
|
inherit packages devShells formatter;
|
|
|
|
|
};
|
2022-06-11 12:32:09 +00:00
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
}
|