nixos/invoiceplane: remove unnecessary parentheses

This commit is contained in:
figsoda 2022-11-30 18:13:58 -05:00
parent f97daa68bc
commit b865b96b97

View file

@ -327,7 +327,7 @@ in
)) eachSite;
systemd.services =
(mapAttrs' (hostName: cfg: (
mapAttrs' (hostName: cfg: (
nameValuePair "invoiceplane-cron-${hostName}" (mkIf cfg.cron.enable {
serviceConfig = {
Type = "oneshot";
@ -335,7 +335,7 @@ in
ExecStart = "${pkgs.curl}/bin/curl --header 'Host: ${hostName}' http://localhost/invoices/cron/recur/${cfg.cron.key}";
};
})
)) eachSite);
)) eachSite;
}