mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +02:00
workaround to add theme
This commit is contained in:
parent
4d5928a56a
commit
c47333f22b
2 changed files with 414 additions and 2 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue