nix-community / terraform-nixos

A set of Terraform modules that are designed to deploy NixOS [maintainer=@adrian-gierakowski]
Apache License 2.0
333 stars 61 forks source link

How to deploy a new nixOS version? #81

Open francocalvo opened 8 months ago

francocalvo commented 8 months ago

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!

adrian-gierakowski commented 7 months ago

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?

threddast commented 3 months ago

@adrian-gierakowski are you now using something different to deploy NixOS with Terraform?

adrian-gierakowski commented 3 months ago

@threddast yes: https://github.com/nix-community/nixos-anywhere/tree/main/terraform

threddast commented 3 months ago

Wow, thank you! I looked at NixOS-anywhere before but it wasn’t clear that it would be helpful managing machines after first deployment

adrian-gierakowski commented 3 months ago

It works great. I use it together with https://github.com/nix-community/srvos and https://github.com/nix-community/disko