mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-12-01 12:43:17 +01:00
38 lines
755 B
HCL
38 lines
755 B
HCL
variable "server_type" {
|
|
type = string
|
|
default = "cpx21"
|
|
description = "Hetzner cloud server type"
|
|
}
|
|
|
|
variable "server_location" {
|
|
type = string
|
|
default = "hel1"
|
|
description = "Hetzner cloud server location"
|
|
}
|
|
|
|
variable "nixos_vars_file" {
|
|
type = string
|
|
description = "File to write NixOS configuration variables to"
|
|
}
|
|
|
|
variable "sops_file" {
|
|
type = string
|
|
description = "File to SOPS secrets file"
|
|
}
|
|
|
|
variable "nixos_flake_attr" {
|
|
type = string
|
|
description = "NixOS configuration flake attribute"
|
|
}
|
|
|
|
variable "domain" {
|
|
type = string
|
|
description = "Domain name"
|
|
}
|
|
|
|
variable "tags" {
|
|
type = map(string)
|
|
default = {}
|
|
description = "Tags to add to the server"
|
|
}
|