mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +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";
|
pleromaUrl = "eepy.rougebordeaux.xyz";
|
||||||
pleromaMediaUrl = "blurb.rougebordeaux.xyz";
|
pleromaMediaUrl = "blurb.rougebordeaux.xyz";
|
||||||
theme = "fantasy-scroll-blossom";
|
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 = "";
|
background = "";
|
||||||
emojis = [ ];
|
emojis = [ ];
|
||||||
styles = ''
|
styles = ''
|
||||||
|
@ -27,9 +29,9 @@ let
|
||||||
akkoma-overlay = self: super: {
|
akkoma-overlay = self: super: {
|
||||||
akkoma = super.akkoma.overrideAttrs (old: {
|
akkoma = super.akkoma.overrideAttrs (old: {
|
||||||
postPatch = ''
|
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 ${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 ++ [
|
buildInputs = old.buildInputs ++ [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue