Anyone with experience using NixOS to create a Lemmy instance, please share any caveats and troubleshooting tips you have.
Jamoke ( @Jamoke@lemmy.themainframe.org ) English4•1 year agoSorry didn’t mean to post here, Lemmy bug changed the post I’m on…
I’ve gotten that a few times too.
kylian0087 ( @kylian0087@lemmy.world ) English2•1 year agoI have not read the full docs on setting up lemmy yet. But i don’t think it matters what distro you use as long as the distro can run docker. So setup docker and from their it is the same for any distro.
Something Burger 🍔 ( @SomethingBurger@beehaw.org ) English2•1 year agoNixOS has native support for Lemmy, Docker/OCI containers are not needed.
kylian0087 ( @kylian0087@lemmy.world ) English1•1 year agoThat is cool. I did not know this. Still i think docker would be the most universal and simple way.
Something Burger 🍔 ( @SomethingBurger@beehaw.org ) English1•1 year agoIf someone is using NixOS, they would prefer native support. It’s easier to set up than Docker and fully integrated with the rest of their system’s configuration. Though NixOS also supports declaring OCI containers (with Docker or Podman) if needed.
The point of Nix is to not use docker. Nix, in theory, eliminates the need for docker.
neoney ( @neoney@lemmy.neoney.dev ) English2•1 year agoOh hello, my instance is on NixOS!
There’s a NixOS module for lemmy, but it’s kind of broken right now and in the middle of a PR. If you want, you can replace the current nix package with the one from the fork, and successfully deploy it, however, if I were you, I’d just wait a week or so.The configuration right now requires a bunch of hacks, and even doing some non-reproducible stuff.