From 9ae31d6786f6dc603f9d9a6a961c6bd6f678534c Mon Sep 17 00:00:00 2001 From: clerie Date: Thu, 20 Feb 2025 20:20:12 +0100 Subject: [PATCH] hosts/_iso: Make iso bootable again by disabling systemd in initrd --- hosts/_iso/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/_iso/configuration.nix b/hosts/_iso/configuration.nix index a7e4877..fadf700 100644 --- a/hosts/_iso/configuration.nix +++ b/hosts/_iso/configuration.nix @@ -6,6 +6,11 @@ ../../configuration/gpg-ssh ]; + # systemd in initrd is broken with ISOs + # Failed to mount /sysroot/iso + # https://github.com/NixOS/nixpkgs/issues/327187 + boot.initrd.systemd.enable = false; + networking.hostName = "isowo"; isoImage.isoBaseName = lib.mkForce "nixos-isowo";