I was looking into the prospect of deploying an instance of Lemmy myself. Being an ULTRA nix fanboi (and a Docker-hater), I was immediately struck by how much the process still depends on (and, IMO, is being held hostage by) Docker containers.

Can we (or at least someone more capable and with more free time than I) help the Lemmy community by harnessing the power of nix and flakes to create declarative, reproducible Lemmy scratch-built instance deployment?

I suspect it would be exceptionally easy for some of you out there. If you are a flakes power-user, just think of how much this could help the community (and perhaps awaken a few people to the power of flakes).

ps. if this already exists, please point me in the right direction.

    • demesisx@programming.devOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I merely want it as an option for those of us that want to use it.

      No one is forcing anyone to use it. -> Speaking of which: That’s the nice thing about flakes in a git repo. For those that want to use them, they’re there and for those that want to use another method, nix flakes don’t step on that in any way. It’s a win-win.

      We could even use it to create build OCI containers and/or Docker containers.