prepare nixos image #4

Open
opened 2024-01-18 01:47:13 +00:00 by kiara · 2 comments
Owner

so far terranix-hcloud uses nixos-infect on the fly, whereas Hetzner Cloud seems to support custom images, offering even a Packer plugin.
it should be possible to prep the nixifying upfront that way.

progress:

relevant notes: https://mhu.dev/posts/2024-01-06-nixos-on-hetzner/

so far [`terranix-hcloud`](https://github.com/terranix/terranix-hcloud/) uses [`nixos-infect`](https://github.com/elitak/nixos-infect) on the fly, whereas Hetzner Cloud seems to support custom images, offering even a [Packer plugin](https://developer.hashicorp.com/packer/integrations/hetznercloud/hcloud). it should be possible to prep the nixifying upfront that way. progress: - https://code.bij1.org/bij1/terraform-config/compare/main...packer - https://code.bij1.org/bij1/terraform-config/compare/main...packer-flake relevant notes: https://mhu.dev/posts/2024-01-06-nixos-on-hetzner/
Author
Owner

found a critique of packer, albeit from the context of AWS:

packer needs, according to the documentation, aws_access_key and aws_secret_key. So it seems it would need to connect to some AWS servers to create the AMI

found a [critique of packer](https://github.com/nix-community/nixos-generators/issues/20#issuecomment-478924572), albeit from the context of AWS: > packer needs, according to the documentation, aws_access_key and aws_secret_key. So it seems it would need to connect to some AWS servers to create the AMI
Author
Owner
alternative?: https://github.com/aanderse/teraflops
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bij1/terraform-config#4
No description provided.