Commit graph

8 commits

Author SHA1 Message Date
3418d0e76d
get terraform-nixos working deployed 2025-04-12 22:11:23 +02:00
81011d0062
pass deploy env vars thru 2025-04-12 12:31:47 +02:00
1da2e9e497
special-args -> hermetic 2025-04-10 09:00:21 +02:00
79e58e21f4
nixos-anywhere -> terraform-nixos
intended to swap out nixos-anywhere for terraform-nixos, over:

- don't need nixos-anywhere to install nixos; we preload nixos to VMs
- [awkward non-flake
usage](https://nix-community.github.io/nixos-anywhere/howtos/use-without-flakes.html#3-set-nixos-version-to-use)
-  seemed not to pick up on config changes, as observed by test VMs
losing their panel keys after TF sync

however, it seems that terraform-nixos has its own flaws:

- its output using a random id, i.e. forcing to push even on no changes
- so far did not get ssh authentication to work
2025-04-09 17:05:00 +02:00
c93f16bcb2
change ssh user to root 2025-04-09 17:04:33 +02:00
29664fef8c
get TF in prod to the same 'installable ... does not correspond to a Nix language value' for non-flakes
seemingly gets further when a similar command is tried from terminal.
as per https://github.com/NixOS/nix/issues/8752#issuecomment-1694714693,
this may have to do with aligning the current working directory.
2025-04-09 17:04:07 +02:00
817c724557
use flake-sourced nixos-anywhere in tf, to reproduce modules for nix 2025-04-09 17:00:20 +02:00
3eb6d93216
tf 2025-04-09 17:00:20 +02:00