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)
@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.