{
  pkgs,
  config,
  assets,
  ...
}:
{
  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;
    host = "0.0.0.0";
    maxHistoryLength = 999999;
    openRegistration = false;
  };
}