diff --git a/terraform/all-in-one.md b/terraform/all-in-one.md index de672bb..9c06049 100644 --- a/terraform/all-in-one.md +++ b/terraform/all-in-one.md @@ -117,6 +117,7 @@ No resources. | [install\_user](#input_install_user) | SSH user used to connect to the target\_host, before installing NixOS. If null than the value of `target_host` is used | `string` | `null` | no | | [instance\_id](#input_instance_id) | The instance id of the target\_host, used to track when to reinstall the machine | `string` | `null` | no | | [kexec\_tarball\_url](#input_kexec_tarball_url) | NixOS kexec installer tarball url | `string` | `null` | no | +| [nix\_options](#input_nix_options) | the options of nix | `map(string)` | `null` | no | | [nixos\_partitioner\_attr](#input_nixos_partitioner_attr) | Nixos partitioner and mount script i.e. your-flake#nixosConfigurations.your-evaluated-nixos.config.system.build.diskoNoDeps or just your-evaluated.config.system.build.diskNoDeps. `config.system.build.diskNoDeps` is provided by the disko nixos module | `string` | n/a | yes | | [nixos\_system\_attr](#input_nixos_system_attr) | The nixos system to deploy i.e. your-flake#nixosConfigurations.your-evaluated-nixos.config.system.build.toplevel or just your-evaluated-nixos.config.system.build.toplevel if you are not using flakes | `string` | n/a | yes | | [no\_reboot](#input_no_reboot) | Do not reboot after installation | `bool` | `false` | no | @@ -127,8 +128,8 @@ No resources. ## Outputs -| Name | Description | -| ----------------------------------------------------- | ---------------------------------------------------------- | -| [result](#output_result) | The resulting store path from building `nixos_system_attr` | +| Name | Description | +| ----------------------------------------------------- | ----------- | +| [result](#output_result) | n/a | diff --git a/terraform/install.md b/terraform/install.md index c7aa078..218ad27 100644 --- a/terraform/install.md +++ b/terraform/install.md @@ -51,7 +51,7 @@ No requirements. ## Modules -No modules..../joerg/.data/nvim/lazy/ +No modules. ## Resources @@ -63,14 +63,16 @@ No modules..../joerg/.data/nvim/lazy/ | Name | Description | Type | Default | Required | | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | -------- | :------: | +| [build\_on\_remote](#input_build_on_remote) | Build the closure on the remote machine instead of building it locally and copying it over | `bool` | `false` | no | | [debug\_logging](#input_debug_logging) | Enable debug logging | `bool` | `false` | no | | [disk\_encryption\_key\_scripts](#input_disk_encryption_key_scripts) | Each of these script files will be executed locally and the output of each of them will be made present at the given path to disko during installation. The keys will be not copied to the final system |
list(object({
path = string
script = string
}))
| `[]` | no | | [extra\_environment](#input_extra_environment) | Extra environment variables to be set during installation. This can be usefull to set extra variables for the extra\_files\_script or disk\_encryption\_key\_scripts | `map(string)` | `{}` | no | | [extra\_files\_script](#input_extra_files_script) | A script file that prepares extra files to be copied to the target host during installation. The script expected to write all its files to the current directory. This directory is copied to the target host during installation to the / directory. | `string` | `null` | no | +| [flake](#input_flake) | The flake to install the system from | `string` | `""` | no | | [instance\_id](#input_instance_id) | The instance id of the target\_host, used to track when to reinstall the machine | `string` | `null` | no | | [kexec\_tarball\_url](#input_kexec_tarball_url) | NixOS kexec installer tarball url | `string` | `null` | no | -| [nixos\_partitioner](#input_nixos_partitioner) | nixos partitioner and mount script | `string` | n/a | yes | -| [nixos\_system](#input_nixos_system) | The nixos system to deploy | `string` | n/a | yes | +| [nixos\_partitioner](#input_nixos_partitioner) | nixos partitioner and mount script | `string` | `""` | no | +| [nixos\_system](#input_nixos_system) | The nixos system to deploy | `string` | `""` | no | | [no\_reboot](#input_no_reboot) | Do not reboot the machine after installation | `bool` | `false` | no | | [ssh\_private\_key](#input_ssh_private_key) | Content of private key used to connect to the target\_host | `string` | `""` | no | | [stop\_after\_disko](#input_stop_after_disko) | Exit after disko formatting | `bool` | `false` | no | diff --git a/terraform/nix-build.md b/terraform/nix-build.md index 932b8fd..68eb23c 100644 --- a/terraform/nix-build.md +++ b/terraform/nix-build.md @@ -7,6 +7,8 @@ file. - See [install](install.md) or [nixos-rebuild](nixos-rebuild.md) + + ## Requirements No requirements. @@ -29,10 +31,11 @@ No modules. ## Inputs -| Name | Description | Type | Default | Required | -| ------------------------------------------------------------ | -------------------------------------------------- | -------- | ------- | :------: | -| [attribute](#input_attribute) | the attribute to build, can also be a flake | `string` | n/a | yes | -| [file](#input_file) | the nix file to evaluate, if not run in flake mode | `string` | `null` | no | +| Name | Description | Type | Default | Required | +| ------------------------------------------------------------------- | -------------------------------------------------- | ------------- | ------- | :------: | +| [attribute](#input_attribute) | the attribute to build, can also be a flake | `string` | n/a | yes | +| [file](#input_file) | the nix file to evaluate, if not run in flake mode | `string` | `null` | no | +| [nix\_options](#input_nix_options) | the options of nix | `map(string)` | `null` | no | ## Outputs