toString for percentile
This commit is contained in:
parent
e66e349c3b
commit
3ae2c5ce8e
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
|
cfg = config.informis.chute;
|
||||||
|
|
||||||
currencyOpts = { ... }: {
|
currencyOpts = { ... }: {
|
||||||
options = {
|
options = {
|
||||||
stop-percentile = mkOption {
|
stop-percentile = mkOption {
|
||||||
@ -48,7 +50,7 @@ let
|
|||||||
description = "Chute ${stage} job for ${currency}";
|
description = "Chute ${stage} job for ${currency}";
|
||||||
path = [ package ];
|
path = [ package ];
|
||||||
environmentFile = credential-file;
|
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;
|
privateNetwork = false;
|
||||||
addressFamilies = [ "AF_INET" ];
|
addressFamilies = [ "AF_INET" ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user