nix/host/x86_64-linux/home/UptimeKuma.nix

20 lines
274 B
Nix
Raw Normal View History

2024-12-02 21:12:45 +03:00
{
lib,
...
}: {
services.uptime-kuma = {
enable = true;
settings = {
DATA_DIR = "/var/lib/uptime-kuma/";
PORT = "64901";
# HOST = cfg.address;
};
};
systemd.services.uptime-kuma = {
serviceConfig = {
DynamicUser = lib.mkForce false;
};
};
}