Files
nixos/modules/server/uptime-kuma.nix
T
oqyude f5c6d40c89 systemd-mounts...
lix frozen-removed, rovr frozen-removed
2026-04-10 14:07:07 +03:00

31 lines
477 B
Nix

{
config,
lib,
pkgs,
xlib,
inputs,
...
}:
{
services.uptime-kuma = {
enable = false;
settings = {
PORT = "4001";
HOST = "0.0.0.0";
};
};
systemd.tmpfiles.rules = [
"z ${xlib.dirs.services-mnt-folder}/uptime-kuma 0755 nobody nogroup -"
];
fileSystems."/var/lib/private/uptime-kuma" = {
device = "${xlib.dirs.services-mnt-folder}/uptime-kuma";
fsType = "none";
options = [
"bind"
"nofail"
];
};
}