missing name for frontend

This commit is contained in:
kity 2025-08-07 19:15:30 +02:00
parent 7bd0e4459e
commit 43843a39e2

View file

@ -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 {