diff --git a/lib/informis/chute.nix b/lib/informis/chute.nix index 590493f..e5d935d 100644 --- a/lib/informis/chute.nix +++ b/lib/informis/chute.nix @@ -2,6 +2,8 @@ with lib; let + cfg = config.informis.chute; + currencyOpts = { ... }: { options = { stop-percentile = mkOption { @@ -48,7 +50,7 @@ let description = "Chute ${stage} job for ${currency}"; path = [ package ]; environmentFile = credential-file; - execStart = "chute --currency=${currency} --stop-at-percent=${stop-at-percent}"; + execStart = "chute --currency=${currency} --stop-at-percent=${toString stop-at-percent}"; privateNetwork = false; addressFamilies = [ "AF_INET" ]; };