mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
tried another syntax
This commit is contained in:
parent
d94d393f4d
commit
f8953f6afe
1 changed files with 5 additions and 3 deletions
|
@ -3,7 +3,9 @@ let
|
|||
pleromaUrl = "eepy.rougebordeaux.xyz";
|
||||
pleromaMediaUrl = "blurb.rougebordeaux.xyz";
|
||||
theme = "fantasy-scroll-blossom";
|
||||
themeUrl = "https://plthemes.vulpes.one/themes/${theme}/${theme}.json";
|
||||
themeSrcUrl = "https://plthemes.vulpes.one/themes/${theme}/${theme}.json";
|
||||
themeSrc = ./akkoma/style.json;
|
||||
tosFile = ./akkoma/terms-of-services.html;
|
||||
background = "";
|
||||
emojis = [ ];
|
||||
styles = ''
|
||||
|
@ -27,9 +29,9 @@ let
|
|||
akkoma-overlay = self: super: {
|
||||
akkoma = super.akkoma.overrideAttrs (old: {
|
||||
postPatch = ''
|
||||
cp ${builtins.toString ./akkoma/style.json} $out/priv/static/themes/${theme}.json
|
||||
cp $themeSrc $out/priv/static/themes/${theme}.json
|
||||
cp ${pkgs.writeText "styles.json" styles} $out/priv/static/themes
|
||||
cp ${builtins.toString ./akkoma/terms-of-services.html} $out/priv/static/terms-of-service.html
|
||||
cp $tosFile $out/priv/static/terms-of-service.html
|
||||
'';
|
||||
|
||||
buildInputs = old.buildInputs ++ [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue