🔧 add atuin healthcheck

This commit is contained in:
Ingolf Wagner 2025-02-28 05:55:33 +07:00
parent 1a95d95576
commit e5acd5e0ce
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -5,6 +5,18 @@
...
}:
{
healthchecks.http.atuin-tinc = {
url = "${config.networking.hostName}.private:${toString config.services.atuin.port}";
expectedContent = "version";
};
# healthchecks.http.atuin-wg0 = {
# url = "${config.networking.hostName}.wg0:${toString config.services.atuin.port}";
# expectedContent = "version";
# };
# networking.firewall.interfaces.wg0.allowedTCPPorts = [
# config.services.atuin.port
# ];
services.atuin = {
enable = true;