Server/caddy: add status to rust-motd

This commit is contained in:
Toast 2024-07-19 12:42:37 +02:00
parent 79a247d9e6
commit 6e885dfbb6

View file

@ -1,4 +1,8 @@
{config, lib, ...}: let
{
config,
lib,
...
}: let
manualHostname = "manual.everest.tailscale";
in {
services.caddy = {
@ -34,4 +38,5 @@ in {
# in too little time
services.caddy.serviceConfig.RestartSec = lib.mkForce "120s";
};
programs.rust-motd.settings.service_status.Caddy = "caddy";
}