Creating a NixOS live CD: Difference between revisions
imported>Mic92 |
imported>Mic92 |
||
| Line 27: | Line 27: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
nix-build -A config.system.build.isoImage -I nixos-config=iso.nix | nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The resulting image can be found in <code>result</code>: | |||
<syntaxhighlight lang="bash"> | |||
ls result/iso/ | |||
nixos-17.09.git.158ec57-x86_64-linux.iso | |||
</syntaxhighlight> | |||
=== Start SSH with your SSH key === | === Start SSH with your SSH key === | ||