nixos/invoiceplane: remove unnecessary parentheses
This commit is contained in:
parent
f97daa68bc
commit
b865b96b97
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue