Install NixOS on GCE: Difference between revisions

imported>Tubro
Google Cloud Shell has a 5GB storage limit... the Git is bigger, so shallow clone is needed
imported>Tubro
m Fix dir and bash styling
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
$ git clone --depth=1 --branch 23.11 https://github.com/NixOS/nixpkgs.git
$ 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>