mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 01:38:28 +02:00
refactor: Use hyphen(`-`) for variable names & folder names(except Python), replace all unserscore(`_`) with hyphen(`-`).
13 lines
375 B
Nix
13 lines
375 B
Nix
{
|
|
# https://github.com/NixOS/nixpkgs/blob/nixos-23.11/nixos/modules/services/monitoring/uptime-kuma.nix
|
|
services.uptime-kuma = {
|
|
enable = true;
|
|
# https://github.com/louislam/uptime-kuma/wiki/Environment-Variables
|
|
settings = {
|
|
"UPTIME_KUMA_HOST" = "127.0.0.1";
|
|
"UPTIME_KUMA_PORT" = "3001";
|
|
"DATA_DIR" = "/var/lib/uptime-kuma/";
|
|
};
|
|
};
|
|
}
|