this post was submitted on 21 Nov 2021
8 points (100.0% liked)

Deprecated, merged with !NixOS

118 readers
1 users here now

Use https://lemmy.ml/c/nixos instead.

founded 4 years ago
MODERATORS
 

Does anyone here use https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/web-apps/lemmy.nix to run lemmy on their nixos server?

If yes, what are your experiences with it? What other services do you run?

you are viewing a single comment's thread
view the rest of the comments
[–] colin@lemmy.uninsane.org 1 points 2 years ago

i threw up a PR. take a look, give it a whirl if you like: https://github.com/NixOS/nixpkgs/pull/232536

even with this upstream PR i deploy it with this two-line override. i'm suspect of a bug in upstream lemmy such that it expects to have superuser database access during the initial migrations -- which that local override patches. it'd be super helpful to get confirmation from other users if this that patch is also in need of upstreaming or if it's more due to my specific postgres configuration.