this post was submitted on 16 Jun 2023
6 points (100.0% liked)
nixos
1271 readers
3 users here now
All about NixOS - https://nixos.org/
founded 4 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I just saw that you're asking for kbin, not lemmy. The steps probably wouldn't work as-is, and the "correct" way is to create a NixOS module for kbin. Some of the configuration steps (e.g. creating the
kbin
service user, configuring PHP, configuring Nginx, configuring Let's Encrypt etc.) are supported by NixOS modules in nixpkgs. It's also necessary to packagekbin
itself, and to create systemd services to run it.Creating a module requires effort, though, and I'd rather use a container to deploy it for simplicity, if it were me.