context
hcloud context to use.If left empty, the value of the environment variable
type
null or string
default
{
context = null;
}
deployment.hcloud.context
hcloud context to use.If left empty, the value of the environment variable
type
null or string
default
{
deployment.hcloud.context = null;
}
deployment.hcloud.image
Image ID to use for this VM. It's expected to be a NixOs system with fetchHetznerKeys enabled. Takes precedence over .
type
null or signed integer
default
{
deployment.hcloud.image = null;
}
deployment.hcloud.image_selector
Label selector for the server image. If multiple images are found, the most recent one will be used. The image is expected to be a NixOs system with fetchHetznerKeys enabled.type
string
default
{
deployment.hcloud.image_selector = "nixops";
}
deployment.hcloud.location
VM location name.
type
string
example
{
deployment.hcloud.location = "fsn1";
}
deployment.hcloud.serverType
Hetzner Cloud server type name.
type
string
example
{
deployment.hcloud.serverType = "cx11";
}
deployment.hcloud.sshKeys
List of SSH keys with root access to the machine. These will be managed with the fetch-hetzner-keys service, not by NixOS.
type
list of Concatenated string or resource of type ‘hcloud-sshkey’
default
{
deployment.hcloud.sshKeys = [];
}
deployment.hcloud.token
Hetzner Cloud API token.
If left empty, the value of the environment variable
type
null or string
default
{
deployment.hcloud.token = null;
}
deployment.hcloud.upgradeDisk
Whether to upgrade the disk when upgrading the server type. If true the server can't be downscaled back.
type
boolean
default
{
deployment.hcloud.upgradeDisk = false;
}
deployment.hcloud.volumes
List of volumes attached to the machine.
type
list of submodule
default
{
deployment.hcloud.volumes = [];
}
deployment.hcloud.volumes.*.fileSystem
Options to be forwarded to .
type
attribute set
default
{
deployment.hcloud.volumes.*.fileSystem = {};
}
deployment.hcloud.volumes.*.mountPoint
Mount point for this volume. Won't be automounted when
type
null or Concatenated string
default
{
deployment.hcloud.volumes.*.mountPoint = null;
}
deployment.hcloud.volumes.*.volume
Volume name or instance.
type
Concatenated string or resource of type ‘hcloud-volume’
name
Name of the Hetzner Cloud SSH key.
type
string
default
{
name = "nixops-{uuid}-{name}";
}
publicKey
SSH public key
type
string
services.fetchHetznerKeys.enable
Whether to enable fetch-hetzner-keys.
type
boolean
example
{
services.fetchHetznerKeys.enable = true;
}
default
{
services.fetchHetznerKeys.enable = false;
}
token
Hetzner Cloud API token.
If left empty, the value of the environment variable
type
null or string
default
{
token = null;
}