When one host fetches the latest flake revision, it publishes to NATS and all other hosts receive the update immediately. This reduces redundant nix flake metadata calls across the fleet. - Add nkeys to devshell for key generation - Add nixos-exporter user to NATS HOMELAB account - Add Vault secret for NKey storage - Configure all hosts to use NATS for revision sharing - Update nixos-exporter input to version with NATS support Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
83 lines
1.8 KiB
HCL
83 lines
1.8 KiB
HCL
variable "vault_address" {
|
|
description = "OpenBao server address"
|
|
type = string
|
|
default = "https://vault01.home.2rjus.net:8200"
|
|
}
|
|
|
|
variable "vault_token" {
|
|
description = "OpenBao root or admin token"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "vault_skip_tls_verify" {
|
|
description = "Skip TLS verification (for self-signed certs)"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "nats_nkey" {
|
|
description = "NATS NKey for alerttonotify"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "pve_exporter_config" {
|
|
description = "PVE exporter YAML configuration"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "ns_xfer_key" {
|
|
description = "DNS zone transfer TSIG key"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "wireguard_private_key" {
|
|
description = "WireGuard private key for http-proxy"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "cache_signing_key" {
|
|
description = "Nix binary cache signing key"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "actions_token_1" {
|
|
description = "Gitea Actions runner token"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "homelab_deploy_listener_nkey" {
|
|
description = "NKey seed for homelab-deploy listeners"
|
|
type = string
|
|
default = "PLACEHOLDER"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "homelab_deploy_test_deployer_nkey" {
|
|
description = "NKey seed for test-tier deployer"
|
|
type = string
|
|
default = "PLACEHOLDER"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "homelab_deploy_admin_deployer_nkey" {
|
|
description = "NKey seed for admin deployer"
|
|
type = string
|
|
default = "PLACEHOLDER"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "nixos_exporter_nkey" {
|
|
description = "NKey seed for nixos-exporter NATS authentication"
|
|
type = string
|
|
default = "PLACEHOLDER"
|
|
sensitive = true
|
|
}
|
|
|