tried converting it to .json file

This commit is contained in:
kity 2025-08-07 14:01:29 +02:00
parent c47333f22b
commit d94d393f4d

View file

@ -27,9 +27,9 @@ let
akkoma-overlay = self: super: { akkoma-overlay = self: super: {
akkoma = super.akkoma.overrideAttrs (old: { akkoma = super.akkoma.overrideAttrs (old: {
postPatch = '' postPatch = ''
cp ${./akkoma/style.json} $out/priv/static/themes/${theme}.json cp ${builtins.toString ./akkoma/style.json} $out/priv/static/themes/${theme}.json
cp ${pkgs.writeText "styles.json" styles} $out/priv/static/themes cp ${pkgs.writeText "styles.json" styles} $out/priv/static/themes
cp ${./akkoma/terms-of-services.html} $out/priv/static/terms-of-service.html cp ${builtins.toString ./akkoma/terms-of-services.html} $out/priv/static/terms-of-service.html
''; '';
buildInputs = old.buildInputs ++ [ buildInputs = old.buildInputs ++ [