From fbdce20e9332ed095e40a67911a7fefe791a480c Mon Sep 17 00:00:00 2001 From: twoneis Date: Sat, 1 Mar 2025 03:46:12 +0100 Subject: [PATCH] not quite figured out passing files to runcommand --- modules/fedi/akkoma-fe.nix | 2 +- modules/fedi/default.nix | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/fedi/akkoma-fe.nix b/modules/fedi/akkoma-fe.nix index 19752c0..f784982 100644 --- a/modules/fedi/akkoma-fe.nix +++ b/modules/fedi/akkoma-fe.nix @@ -13,5 +13,5 @@ runCommand "akkoma-fe" { lndir ${akkoma-frontends.akkoma-fe} $out rm $out/static/styles.json - cp $config $out/static/styles.json + cp ${styles} $out/static/ '' diff --git a/modules/fedi/default.nix b/modules/fedi/default.nix index 6e95ef8..25c7da2 100644 --- a/modules/fedi/default.nix +++ b/modules/fedi/default.nix @@ -18,7 +18,11 @@ in mkIf conf.fedi.enable { services.akkoma = { enable = true; - frontends.primary.package = akkoma-fe; + frontends.primary = { + name = "akkoma-fe"; + ref = "stable"; + package = akkoma-fe; + }; config = { ":pleroma" = { ":instance" = {