Install NixOS on GCE: Difference between revisions

imported>Wathiede
m Removed gcloud stutter
imported>Tubro
Google Cloud Shell has a 5GB storage limit... the Git is bigger, so shallow clone is needed
Line 26: Line 26:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
git clone --depth=1 --branch 23.11 https://github.com/NixOS/nixpkgs.git && cd nixpkgs
$ BUCKET_NAME=my_bucket_name nixpkgs/nixos/maintainers/scripts/gce/create-gce.sh
$ BUCKET_NAME=my_bucket_name nixpkgs/nixos/maintainers/scripts/gce/create-gce.sh
</syntaxhighlight>
</syntaxhighlight>