Hacker News new | ask | show | jobs
by Arelius 658 days ago
I mean, I don't know what that is, but looking at the documentation, it should be something like:

  config = {
    services.uptime-kuma = {
      enable = true;
      settings = {
        PORT = 3001
      };
    };
  };
1 comments

It's a node.js web-app, so it might need some NGINX (or other web server) settings, eventual acme/let's encrypt etc, few SLoC to customize and that's the very point: being able to customize anything without two-stage with one by hand in a terminal or with separate tools like Ansible.
Yeah, none of those seem to be covered in the parent post, so the Nix example is equally simplistic.