selfprivacy-nixos-config/letsencrypt/resolve.nix
2023-12-18 18:44:18 +04:00

18 lines
289 B
Nix

{ config, lib, ... }:
let
domain = config.selfprivacy.domain;
in
{
systemd = {
services = {
"acme-${domain}" = {
serviceConfig = {
StartLimitBurst = 5;
StartLimitIntervalSec = 5;
Restart = "on-failure";
};
};
};
};
}