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 ago
Sorry 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 ago
I 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 ago
NixOS has native support for Lemmy, Docker/OCI containers are not needed.
- kylian0087 ( @kylian0087@lemmy.world ) English1•1 year ago
That 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 ago
If 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 ago
Oh 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.