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
};
};
};