QEMU VM doesn't boot after manual nixos-install

HI,
I get this error after nixos-install the minimal iso and rebooting my VM:

screenshot2

specs:

  • 5.15.133-1-MANJARO
  • WM: sway

The installation of nixos-plasma-edition works without any problems, so I’m a bit confused what went wrong.

Here is my configuration.nix

# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  # Use the GRUB 2 boot loader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  networking.hostName = "nixos"; # Define your hostname.

  # Set your time zone.
  time.timeZone = "Europe/Berlin";

  # Configure keymap in X11
  services.xserver.layout = "de";

  # Enable sound.
  sound.enable = true;
  hardware.pulseaudio.enable = true;

  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.users.usy = {
    isNormalUser = true;
    extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
    packages = with pkgs; [
  #     firefox
  #     tree
    ];
  };

  # Enable the OpenSSH daemon.
  services.openssh.enable = true;

  networking.firewall.enable = false;

  system.copySystemConfiguration = true;

  system.stateVersion = "23.05"; # Did you read the comment?

}

I did to solve it by myself.
I tried to set it up with the uefi firmware settings(uefi boot) but didn’t enable the uefi firmware in vm-manager.

You can choose the firmware during the setup process of the vm:

I would also recommend to follow this installation guide for the manual process:
https://nixos.wiki/wiki/NixOS_Installation_Guide