Skip to content

Commit ed67349

Browse files
committed
terraform: improve module description
1 parent 29b0f1b commit ed67349

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

terraform/all-in-one/variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ variable "kexec_tarball_url" {
77
# To make this re-usuable we maybe should accept a store path here?
88
variable "nixos_partitioner_attr" {
99
type = string
10-
description = "nixos partitioner and mount script"
10+
description = "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"
1111
}
1212

1313
# To make this re-usuable we maybe should accept a store path here?
1414
variable "nixos_system_attr" {
1515
type = string
16-
description = "The nixos system to deploy"
16+
description = "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"
1717
}
1818

1919
variable "file" {
2020
type = string
21-
description = "file to get the nixos_system_attr and nixos_partitioner_attr from if they are not flakes."
21+
description = "Nix file containing the nixos_system_attr and nixos_partitioner_attr. Use this if you are not using flake"
2222
default = null
2323
}
2424

0 commit comments

Comments
 (0)