more treefmt

This commit is contained in:
Jörg Thalheim 2023-05-14 18:37:15 +02:00
parent b2b55eaa6a
commit eb9245d132
6 changed files with 17 additions and 19 deletions

View File

@ -1,6 +1,6 @@
{ inputs, ... }: {
flake.nixosModules = {
hcloud.imports = [
hcloud.imports = [
inputs.srvos.nixosModules.server
inputs.srvos.nixosModules.hardware-hetzner-cloud
];

View File

@ -1,3 +1 @@
{...}: {
}
{ ... }: { }

View File

@ -1,5 +1,5 @@
terraform {
required_providers {
hcloud = { source = "hetznercloud/hcloud" }
hcloud = { source = "hetznercloud/hcloud" }
}
}

View File

@ -1,5 +1,5 @@
variable "ssh_keys" {
type = map(string)
type = map(string)
description = "SSH public keys for admin user (name -> key)"
}

View File

@ -1,7 +1,7 @@
terraform {
required_providers {
netlify = { source = "AegirHealth/netlify" }
hcloud = { source = "hetznercloud/hcloud" }
local = { source = "hashicorp/local" }
netlify = { source = "AegirHealth/netlify" }
hcloud = { source = "hetznercloud/hcloud" }
local = { source = "hashicorp/local" }
}
}

View File

@ -1,37 +1,37 @@
variable "server_type" {
type = string
default = "cx21"
type = string
default = "cx21"
description = "Hetzner cloud server type"
}
variable "server_location" {
type = string
default = "hel1"
type = string
default = "hel1"
description = "Hetzner cloud server location"
}
variable "netlify_dns_zone" {
type = string
type = string
description = "Netlify DNS zone"
}
variable "nixos_vars_file" {
type = string
type = string
description = "File to write NixOS configuration variables to"
}
variable "nixos_flake_attr" {
type = string
type = string
description = "NixOS configuration flake attribute"
}
variable "domain" {
type = string
type = string
description = "Domain name"
}
variable "tags" {
type = map(string)
default = {}
type = map(string)
default = {}
description = "Tags to add to the server"
}