diff --git a/nix/modules/flake-module.nix b/nix/modules/flake-module.nix index e88ffba..5681a9a 100644 --- a/nix/modules/flake-module.nix +++ b/nix/modules/flake-module.nix @@ -1,6 +1,6 @@ { inputs, ... }: { flake.nixosModules = { - hcloud.imports = [ + hcloud.imports = [ inputs.srvos.nixosModules.server inputs.srvos.nixosModules.hardware-hetzner-cloud ]; diff --git a/nix/modules/nixos-wiki.nix b/nix/modules/nixos-wiki.nix index 5b462e8..c915eb0 100644 --- a/nix/modules/nixos-wiki.nix +++ b/nix/modules/nixos-wiki.nix @@ -1,3 +1 @@ -{...}: { - -} +{ ... }: { } diff --git a/terraform/modules/admins/providers.tf b/terraform/modules/admins/providers.tf index 5e660df..0262e22 100644 --- a/terraform/modules/admins/providers.tf +++ b/terraform/modules/admins/providers.tf @@ -1,5 +1,5 @@ terraform { required_providers { - hcloud = { source = "hetznercloud/hcloud" } + hcloud = { source = "hetznercloud/hcloud" } } } diff --git a/terraform/modules/admins/variables.tf b/terraform/modules/admins/variables.tf index c09e2be..f9db1ac 100644 --- a/terraform/modules/admins/variables.tf +++ b/terraform/modules/admins/variables.tf @@ -1,5 +1,5 @@ variable "ssh_keys" { - type = map(string) + type = map(string) description = "SSH public keys for admin user (name -> key)" } diff --git a/terraform/modules/wiki/providers.tf b/terraform/modules/wiki/providers.tf index 54ab690..4c01a9b 100644 --- a/terraform/modules/wiki/providers.tf +++ b/terraform/modules/wiki/providers.tf @@ -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" } } } diff --git a/terraform/modules/wiki/variables.tf b/terraform/modules/wiki/variables.tf index 7accd12..50fda33 100644 --- a/terraform/modules/wiki/variables.tf +++ b/terraform/modules/wiki/variables.tf @@ -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" }