This is my first post over here. I got my usb flashed with the iso. I followed the steps to proceed with the installation. It worked on my main pc and now I want to install NixOs in a laptop. Different hardware. It keeps giving me errors when I try to install the OS. I tried with linux LTS and Linux (the non-lts option). I don’t know if it matters. Previously I installe Arch on this computer so I think everything should work.
I believe that is the output of my failed installation.
I need help debugging the problem.
From what I could read. I believe the issue relies on the installation of the bootloader
2025-10-06 - 14:34:06 [6]: DEBUG (Qt): QML Component (default slideshow) Next slide
2025-10-06 - 14:34:08 [6]: [PYTHON JOB]: "nixos-install: /nix/store/mcrq9d74pq62q7njvqpjxvxh2b94ggpw-nixos-system-nixos-25.05.810767.3bcc93c5f7a4"
2025-10-06 - 14:34:11 [6]: [PYTHON JOB]: "nixos-install: installing the boot loader..."
2025-10-06 - 14:34:14 [6]: [PYTHON JOB]: "nixos-install: setting up /etc..."
2025-10-06 - 14:34:18 [6]: [PYTHON JOB]: "nixos-install: Created \"/boot/EFI\"."
2025-10-06 - 14:34:18 [6]: [PYTHON JOB]: "nixos-install: Created \"/boot/EFI/systemd\"."
2025-10-06 - 14:34:18 [6]: [PYTHON JOB]: "nixos-install: Created \"/boot/EFI/BOOT\"."
2025-10-06 - 14:34:18 [6]: [PYTHON JOB]: "nixos-install: Created \"/boot/loader\"."
2025-10-06 - 14:34:18 [6]: [PYTHON JOB]: "nixos-install: Created \"/boot/loader/keys\"."
2025-10-06 - 14:34:18 [6]: [PYTHON JOB]: "nixos-install: Created \"/boot/loader/entries\"."
2025-10-06 - 14:34:18 [6]: [PYTHON JOB]: "nixos-install: Created \"/boot/EFI/Linux\"."
2025-10-06 - 14:34:18 [6]: [PYTHON JOB]: "nixos-install: Copied \"/nix/store/d84f8nm2na5cr53m4jk0qk2mj7lgr9fx-systemd-257.9/lib/systemd/boot/efi/systemd-bootx64.efi\" to \"/boot/EFI/systemd/systemd-bootx64.efi\"."
2025-10-06 - 14:34:19 [6]: [PYTHON JOB]: "nixos-install: Copied \"/nix/store/d84f8nm2na5cr53m4jk0qk2mj7lgr9fx-systemd-257.9/lib/systemd/boot/efi/systemd-bootx64.efi\" to \"/boot/EFI/BOOT/BOOTX64.EFI\"."
2025-10-06 - 14:34:19 [6]: [PYTHON JOB]: "nixos-install: Random seed file /boot/loader/random-seed successfully written (32 bytes)."
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: Failed to write 'LoaderSystemToken' EFI variable: Input/output error"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: Traceback (most recent call last):"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: File \"/nix/store/r69irg1dc8kf37l19gxvyv33wwhjffri-systemd-boot/bin/systemd-boot\", line 431, in <module>"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: main()"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: File \"/nix/store/r69irg1dc8kf37l19gxvyv33wwhjffri-systemd-boot/bin/systemd-boot\", line 414, in main"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: install_bootloader(args)"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: File \"/nix/store/r69irg1dc8kf37l19gxvyv33wwhjffri-systemd-boot/bin/systemd-boot\", line 307, in install_bootloader"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: run("
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: File \"/nix/store/r69irg1dc8kf37l19gxvyv33wwhjffri-systemd-boot/bin/systemd-boot\", line 58, in run"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: return subprocess.run(cmd, check=True, text=True, stdout=stdout)"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: File \"/nix/store/vxl8pzgkkw8vdb4agzwm58imrfclmfrx-python3-3.12.11/lib/python3.12/subprocess.py\", line 571, in run"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: raise CalledProcessError(retcode, process.args,"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: subprocess.CalledProcessError: Command '['/nix/store/d84f8nm2na5cr53m4jk0qk2mj7lgr9fx-systemd-257.9/bin/bootctl', '--esp-path=/boot', 'install']' returned non-zero exit status 1."
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: Failed to install bootloader"
2025-10-06 - 14:34:25 [6]: [PYTHON JOB]: "nixos-install: "
2025-10-06 - 14:34:26 [6]: DEBUG (Qt): QML Component (default slideshow) Next slide
2025-10-06 - 14:34:27 [6]: virtual void Calamares::JobThread::run()
2025-10-06 - 14:34:27 [6]: Skipping non-emergency job "Set password for user maximo"
2025-10-06 - 14:34:27 [6]: .. Skipping non-emergency job "Set password for user root"
2025-10-06 - 14:34:27 [6]: .. Skipping non-emergency job "Unmounting file systems…"
2025-10-06 - 14:34:28 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
2025-10-06 - 14:34:28 [1]: ERROR: Installation failed: "nixos-install failed"
2025-10-06 - 14:34:28 [6]: .. - message: "nixos-install failed"
2025-10-06 - 14:34:28 [6]: .. - details: copying channel...
building the configuration in /tmp/calamares-root-tj8ntf4c/etc/nixos/configuration.nix...
these 311 derivations will be built: