Skip to content

Commit c0c5fcc

Browse files
committed
make nix find the right flake
1 parent ff743f3 commit c0c5fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/install/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ resource "null_resource" "nixos-remote" {
1010
environment = {
1111
SSH_PRIVATE_KEY = var.ssh_private_key
1212
}
13-
command = "nix run --extra-experimental-features 'nix-command flakes' ${path.module}#nixos-anywhere -- ${local.nixos_anywhere_flags}"
13+
command = "nix run --extra-experimental-features 'nix-command flakes' path:${path.module}/../..#nixos-anywhere -- ${local.nixos_anywhere_flags}"
1414
}
1515
}

0 commit comments

Comments
 (0)