mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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 New Issue
Block a user