selfprivacy-nixos-config/letsencrypt/resolve.nix

18 lines
290 B
Nix

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