not quite figured out passing files to runcommand
This commit is contained in:
parent
a44015b02a
commit
fbdce20e93
2 changed files with 6 additions and 2 deletions
|
@ -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/
|
||||||
''
|
''
|
||||||
|
|
|
@ -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" = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue