{ config, inputs, 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; extraStatic."emoji/blobs.gg" = pkgs.akkoma-emoji.blobs_gg; extraStatic."static/styles.json" = pkgs.writeText "styles.json" (builtins.toJSON { pleroma-dark = "/static/themes/pleroma-dark.json"; pleroma-light = "/static/themes/pleroma-light.json"; pleroma-amoled = [ "Pleroma Dark AMOLED" "#000000" "#111111" "#b0b0b1" "#d8a070" "#aa0000" "#0fa00f" "#0095ff" "#d59500"]; classic-dark = [ "Classic Dark" "#161c20" "#282e32" "#b9b9b9" "#baaa9c" "#d31014" "#0fa00f" "#0095ff" "#ffa500" ]; bird = [ "Bird" "#f8fafd" "#e6ecf0" "#14171a" "#0084b8" "#e0245e" "#17bf63" "#1b95e0" "#fab81e"]; ir-black = [ "Ir Black" "#000000" "#242422" "#b5b3aa" "#ff6c60" "#FF6C60" "#A8FF60" "#96CBFE" "#FFFFB6" ]; monokai = [ "Monokai" "#272822" "#383830" "#f8f8f2" "#f92672" "#F92672" "#a6e22e" "#66d9ef" "#f4bf75" ]; redmond-xx = "/static/themes/redmond-xx.json"; redmond-xx-se = "/static/themes/redmond-xx-se.json"; redmond-xxi = "/static/themes/redmond-xxi.json"; breezy-dark = "/static/themes/breezy-dark.json"; breezy-light = "/static/themes/breezy-light.json"; paper = "/static/themes/paper.json"; thekanata = "/static/themes/thekanata.json"; ihatebeingalive = "/static/themes/ihatebeingalive.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" ''