mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 15:10:19 +02:00
missing name for frontend
This commit is contained in:
parent
7bd0e4459e
commit
43843a39e2
1 changed files with 14 additions and 11 deletions
|
@ -64,19 +64,22 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.akkoma.frontends.primary.package =
|
services.akkoma.frontends.akkoma-fe = {
|
||||||
pkgs.runCommand "akkoma-fe"
|
name = "akkoma-fe";
|
||||||
{
|
package =
|
||||||
|
pkgs.runCommand "akkoma-fe"
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
lndir ${pkgs.akkoma-frontends.akkoma-fe} $out
|
lndir ${pkgs.akkoma-frontends.akkoma-fe} $out
|
||||||
|
|
||||||
cp ${themeSrc} $out/static/themes/${theme}.json
|
cp ${themeSrc} $out/static/themes/${theme}.json
|
||||||
cp ${pkgs.writeText "styles.json" styles} $out/static/themes
|
cp ${pkgs.writeText "styles.json" styles} $out/static/themes
|
||||||
cp ${tosFile} $out/static/terms-of-service.html
|
cp ${tosFile} $out/static/terms-of-service.html
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
services.caddy.virtualHosts."http://${pleromaUrl}".extraConfig = ''
|
services.caddy.virtualHosts."http://${pleromaUrl}".extraConfig = ''
|
||||||
log {
|
log {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue