workaround to add theme

This commit is contained in:
kity 2025-08-07 13:53:49 +02:00
parent 4d5928a56a
commit c47333f22b
2 changed files with 414 additions and 2 deletions

View file

@ -27,8 +27,7 @@ let
akkoma-overlay = self: super: {
akkoma = super.akkoma.overrideAttrs (old: {
postPatch = ''
curl -Lo ${theme}.json ${themeUrl}
mv ${theme}.json /static/themes/
cp ${./akkoma/style.json} $out/priv/static/themes/${theme}.json
cp ${pkgs.writeText "styles.json" styles} $out/priv/static/themes
cp ${./akkoma/terms-of-services.html} $out/priv/static/terms-of-service.html
'';