terraform-nixos icon indicating copy to clipboard operation
terraform-nixos copied to clipboard

How to deploy a new nixOS version?

Open francocalvo opened this issue 1 year ago • 5 comments

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!

francocalvo avatar Feb 23 '24 15:02 francocalvo

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 avatar Mar 01 '24 17:03 adrian-gierakowski

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

threddast avatar Jul 04 '24 14:07 threddast

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

adrian-gierakowski avatar Jul 04 '24 19:07 adrian-gierakowski

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

threddast avatar Jul 04 '24 19:07 threddast

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

adrian-gierakowski avatar Jul 04 '24 19:07 adrian-gierakowski