Fediversity/deployment/check/common/data-model-options.nix
Kiara Grouwstra 6426e70b84
bootable vm by repart
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
2025-09-23 13:09:52 +02:00

42 lines
979 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";
};
proxmox-user = mkOption {
description = "The ProxmoX user to use.";
type = types.str;
default = "root@pam";
};
proxmox-password = mkOption {
description = "The ProxmoX password to use.";
type = types.str;
};
node-name = mkOption {
description = "the name of the ProxmoX node to use.";
type = types.str;
};
vm-names = mkOption {
description = "The names of VMs to provision.";
type = types.listOf types.str;
};
};
}