{ config, inputs, lib, pkgs, ... }: { sops.secrets."services/akkoma/mailerPassword" = { sopsFile = ../../../secrets/services/akkoma.yaml; }; sops.secrets."services/akkoma/deepl" = { sopsFile = ../../../secrets/services/akkoma.yaml; }; services.akkoma = { enable = true; extraPackages = with pkgs; [ exiftool ffmpeg-headless imagemagick ]; extraStatic."emoji/blobs.gg" = pkgs.akkoma-emoji.blobs_gg; extraStatic."emoji/florp" = pkgs.runCommandNoCC "florp" { src = inputs.florp-branding.packages.${config.nixpkgs.hostPlatform.system}.favicon; } '' mkdir $out cp $src $out/florp.png ''; extraStatic."static/styles.json" = pkgs.writeText "styles.json" (builtins.toJSON ( builtins.fromJSON (builtins.readFile "${pkgs.akkoma-fe-domi}/static/styles.json") // { elly-mod = "/static/themes/elly-mod.json"; } )); extraStatic."static/themes/elly-mod.json" = pkgs.writeText "elly-mod.json" (builtins.readFile ./elly-mod.json); extraStatic."static/terms-of-service.html" = pkgs.writeText "terms-of-service.html" ''