not quite figured out passing files to runcommand

This commit is contained in:
twoneis 2025-03-01 03:46:12 +01:00
parent a44015b02a
commit fbdce20e93
2 changed files with 6 additions and 2 deletions

View file

@ -13,5 +13,5 @@ runCommand "akkoma-fe" {
lndir ${akkoma-frontends.akkoma-fe} $out lndir ${akkoma-frontends.akkoma-fe} $out
rm $out/static/styles.json rm $out/static/styles.json
cp $config $out/static/styles.json cp ${styles} $out/static/
'' ''

View file

@ -18,7 +18,11 @@ in
mkIf conf.fedi.enable { mkIf conf.fedi.enable {
services.akkoma = { services.akkoma = {
enable = true; enable = true;
frontends.primary.package = akkoma-fe; frontends.primary = {
name = "akkoma-fe";
ref = "stable";
package = akkoma-fe;
};
config = { config = {
":pleroma" = { ":pleroma" = {
":instance" = { ":instance" = {