Install NixOS on GCE: Difference between revisions

imported>Mic92
No edit summary
imported>Mic92
No edit summary
Line 1: Line 1:
<pre>
NOTE: as of March 2020 this page is not accurate and many changes have taken place  
NOTE: as of March 2020 this page is not accurate and many changes have taken place  
in NixOS and in GCE. There may be useful information here but following the instructions  
in NixOS and in GCE. There may be useful information here but following the instructions  
will not lead to a happy running VM instance on GCE. Hopefully someone can figure out  
will not lead to a happy running VM instance on GCE. Hopefully someone can figure out  
how to fix it because there are updates in the source code.
how to fix it because there are updates in the source code. You may want to use [https://github.com/nix-community/nixos-generators nixos-generators] to create google cloud images.
 
You may want to use [https://github.com/nix-community/nixos-generators nixos-generators] to create google cloud images.
</pre>


This is a recipe for creating a NixOS machine on Google Compute Engine (GCE) which is part of [https://cloud.google.com/ Google Cloud Platform]. This tutorial assumes you have already set up and account and project under Google Cloud Platform.
This is a recipe for creating a NixOS machine on Google Compute Engine (GCE) which is part of [https://cloud.google.com/ Google Cloud Platform]. This tutorial assumes you have already set up and account and project under Google Cloud Platform.