diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-01-25 17:23:01 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-01-25 17:23:01 +0100 |
| commit | 19835b9be47ba9b96b1f72c93c98e3c3866a858a (patch) | |
| tree | 17b21a488ca321fe2831229381f06ed1f32b57b5 /services/uptimekuma.nix | |
| parent | 77b23ce8e86b24e6aed30fadced85d6a2d7dd0a7 (diff) | |
Fixes in secrets and services.
Mostly fixes connection to mysql and the unix-socket auth for it.
Diffstat (limited to '')
| -rw-r--r-- | services/uptimekuma.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/uptimekuma.nix b/services/uptimekuma.nix index 1ac6006..32549c3 100644 --- a/services/uptimekuma.nix +++ b/services/uptimekuma.nix @@ -33,6 +33,7 @@ in users.groups.uptimekuma = { }; systemd.services.uptime-kuma.serviceConfig.User = "uptimekuma"; + systemd.services.uptime-kuma.after = ["mysql.service"]; # sops.secrets = # (lib.genAttrs (map toSops secrets) @@ -69,7 +70,7 @@ in UPTIME_KUMA_PORT = "3111"; UPTIME_KUMA_HOST = "127.0.0.1"; UPTIME_KUMA_DB_TYPE = "sqlite"; - UPTIME_KUMA_DB_SOCKET = "/var/lib/mysql/mysql.sock"; + UPTIME_KUMA_DB_SOCKET = "/run/mysqld/mysqld.sock"; }; }; }); |
