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

imported>ErnstderLage
m update 22.05
imported>Reijix
Added troubleshooting section
Line 50: Line 50:
}
}
</syntaxhighlight>
</syntaxhighlight>
== Troubleshooting ==
=== Still can't login after updating configuration ===
When running a virtual machine a file called $hostname.qcow2 is created in your current working directory. After changing your /etc/nixos/configuration.nix delete this file, rebuild and then start the new virtual machine. Now you should be able to login.