Install NixOS on GCE: Difference between revisions

Klinger (talk | contribs)
update example to 24.11
 
Line 36: Line 36:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$ git clone --depth=1 --branch 23.11 https://github.com/NixOS/nixpkgs.git
$ git clone --depth=1 --branch nixos-24.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>