selfprivacy-nixos-config/letsencrypt/resolve.nix
Alexander Tomokhov 80ba7d0bda PoC working SP module system
+ simple-nixos-mailserver as an SP module
2023-11-13 00:37:50 +04:00

18 lines
299 B
Nix

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