From 4ee66cdca7927c91214e7dfe7232aa40647761e2 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 5 Dec 2023 23:26:51 +0000 Subject: [PATCH] nixos/build: Disable systemd initrd in ISO --- nixos/modules/build.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/build.nix b/nixos/modules/build.nix index cede807..0a14349 100644 --- a/nixos/modules/build.nix +++ b/nixos/modules/build.nix @@ -18,6 +18,9 @@ let "${modulesPath}/installer/cd-dvd/iso-image.nix" allHardware { + # Doesn't work right now... (missing /dev/root) + boot.initrd.systemd.enable = false; + isoImage = { makeEfiBootable = true; makeUsbBootable = true;