Conversation

and why she aoify

how i set up akkoma on NixOS semi-declaratively
Show content

nixpkgs has a NixOS option for setting up akkoma. however, because of akkoma’s directory structure, by default you only have two options: either set up everything declaratively, which includes static files and emoji, meaning you can’t edit those from admin-fe, or compile the frontends by hand, which is explicitly what i use NixOS to avoid.

after a few hours of working on it i figured out a hack! this compiles your frontends, places them in current-system/sw/lib/akkoma/frontends, which you can then symlink to your static directory, wherever you choose to place it.

this snippet is licensed under MIT (it uses and credits some existing nixpkgs code)

2
1
7
how i set up akkoma on NixOS semi-declaratively
Show content
@nbsp woah..,.,. autism,..,,. on my fedi.,.,., sso cool....
0
0
1
how i set up akkoma on NixOS semi-declaratively
Show content

@nbsp@yearning.gay I don't think that's hacky, seems like you're utilizing overlays properly and some things just can't have a complete declarative syntax.

0
0
2