0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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