mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-06 00:43:11 +00:00
18 lines
289 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|