forked from Fediversity/Fediversity
note that, other than being easier to call, this maintains the TF deployment's status of remaining a glorified wrapper of the SSH deployment.
25 lines
483 B
Nix
25 lines
483 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkOption types;
|
|
in
|
|
{
|
|
options = {
|
|
host = mkOption {
|
|
type = types.str;
|
|
description = "name of the host to deploy to";
|
|
};
|
|
targetSystem = mkOption {
|
|
type = types.str;
|
|
description = "name of the host to deploy to";
|
|
};
|
|
sshOpts = mkOption {
|
|
description = "Extra SSH options (`-o`) to use.";
|
|
type = types.listOf types.str;
|
|
default = [ ];
|
|
example = "ConnectTimeout=60";
|
|
};
|
|
};
|
|
}
|