nix flake for loads of emotes
.gitignore | ||
akkoma.nix | ||
flake.lock | ||
flake.nix | ||
README.md |
NixOS Fedi Emotes
Ever wanted to describe your emotes declaratively? ya us too.
Extremely WIP, but likely to stay stable with care.
Modules
Akkoma
We have a module to automatically import and configure derivations as Akkoma emoji... Assuming you're already importing this as a flake named fedi-emotes
...
{ inputs, pkgs, ... }: {
imports = [
inputs.fedi-emotes.nixosModules.akkoma
];
services.akkoma = {
# ...
emoji = {
enable = true; # Enable the emoji tool
emojiPackages = with inputs.fedi-emotes.packages.${pkgs.system}; [
# Any packages are OK here, Akkoma expects .png/.gif.
pkgs.akkoma-emoji.blobs_gg
lightrunner-custom.hearts
lightrunner-custom.anime
];
};
# ...
};
}
This module will place these packages/derivations in services.akkoma.extraStatic."emoji/${package.name}"
, and map these prefixes to picker tabs via services.akkoma.config.":pleroma".":emoji".groups
.