terraform-nixos
terraform-nixos copied to clipboard
How to deploy a new nixOS version?
Hey!
I'm trying to deploy a new nixOS version to a GCE VM.
I've both modules, but they come with versions. It would be cool to have a complete example for a minimal deployment.
I'll tag the mantainer just in case: @adrian-gierakowski Thanks!
Hi, it's a while since I used this project, but can investigate. could you explain a bit more what you are having problem with?
@adrian-gierakowski are you now using something different to deploy NixOS with Terraform?
@threddast yes: https://github.com/nix-community/nixos-anywhere/tree/main/terraform
Wow, thank you! I looked at NixOS-anywhere before but it wasn’t clear that it would be helpful managing machines after first deployment
It works great. I use it together with https://github.com/nix-community/srvos and https://github.com/nix-community/disko