Skip to content

Commit

Permalink
fix(faucet): add extra args
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen committed Sep 29, 2023
1 parent 408a765 commit b6a0018
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion faucet/faucet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
default = "127.0.0.1:9090";
description = "grpc address of the node";
};
extra-args = mkOption {
type = types.str;
default = "";
description = "extra arguments to pass to the command";
};
};

config = mkIf cfg.enable {
Expand All @@ -115,7 +120,7 @@
--address '${cfg.address}' \
--amount-send ${toString cfg.amount-send} \
--grpc-address ${cfg.grpc-address} \
--mnemonic '${cfg.mnemonic}'
--mnemonic '${cfg.mnemonic}' ${cfg.extra-args}
'';
};
in
Expand Down

0 comments on commit b6a0018

Please sign in to comment.