NixOS:nixos-rebuild build-vm: Difference between revisions

imported>Nixinator
No edit summary
imported>Nixinator
No edit summary
Line 1: Line 1:
A virtual machine can be created , it will use your /etc/nixos/configuration.nix to make a 'clone' of your system. Useful for testing new configurations.  
A virtual machine can be created , it will use your /etc/nixos/configuration.nix to make a 'clone' of your system. Useful for testing new configurations.  


<code>
nixos-rebuild build-vm
nixos-rebuild build-vm
</code>


You will that you will not be able to login to this virtual machine, as the passwords are not carried over to the virtual machine you build.
You will that you will not be able to login to this virtual machine, as the passwords are not carried over to the virtual machine you build.