From 0c5e837b66f58265ce2b66a33d0f47a3114ed227 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 18 Apr 2016 11:52:31 +0200 Subject: [PATCH] acme.nix: Fix unit descriptions Unit descriptions should be capitalized, and timer units don't have to describe that they're timers. --- nixos/modules/security/acme.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/security/acme.nix b/nixos/modules/security/acme.nix index c5cd0fb60ee..cb5410a5f15 100644 --- a/nixos/modules/security/acme.nix +++ b/nixos/modules/security/acme.nix @@ -152,7 +152,7 @@ in in nameValuePair ("acme-${cert}") ({ - description = "ACME cert renewal for ${cert} using simp_le"; + description = "Renew ACME Certificate for ${cert}"; after = [ "network.target" ]; serviceConfig = { Type = "oneshot"; @@ -192,7 +192,7 @@ in systemd.timers = flip mapAttrs' cfg.certs (cert: data: nameValuePair ("acme-${cert}") ({ - description = "timer for ACME cert renewal of ${cert}"; + description = "Renew ACME Certificate for ${cert}"; wantedBy = [ "timers.target" ]; timerConfig = { OnCalendar = cfg.renewInterval;