rename kuma option to status

This commit is contained in:
Kiara Grouwstra 2024-09-28 22:22:28 +02:00
parent be0863836d
commit 524b598b2c
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@
# TODO: make it the default
networking.domain = "infra.forkos.org";
bagel.uptime-kuma = {
bagel.status = {
enable = true;
domain = "status.forkos.org";
};

View file

@ -5,7 +5,7 @@
...
}:
let
cfg = config.bagel.uptime-kuma;
cfg = config.bagel.status;
subdomains = [
"cl"
"netbox"
@ -31,7 +31,7 @@ in
{
imports = [ "${inputs.stateless-uptime-kuma}/nixos/module.nix" ];
options.bagel.uptime-kuma = {
options.bagel.status = {
enable = lib.mkEnableOption "the status page service (uptime-kuma)";
domain = lib.mkOption {
type = lib.types.str;