Files
nix-stuff/prophecy/hath.nix
Shelvacu 59d5ef53a4 nix fmt
2025-07-11 11:08:00 -07:00

24 lines
522 B
Nix

{ vacuModules, config, ... }:
let
port = 62622;
in
{
imports = [ vacuModules.hath ];
sops.secrets.hathClientKey = {
owner = config.vacu.hath.user;
restartUnits = [ "hath.service" ];
};
vacu.hath = {
enable = true;
autoStart = true;
flushLogs = true;
allowPrivilegedPort = false;
cacheDir = "/propdata/hath-cache";
credentials = {
clientId = 50751;
clientKeyPath = config.sops.secrets.hathClientKey.path;
};
};
networking.firewall.allowedTCPPorts = [ port ];
}