nixos/iso-image: update comment to reflect systemd and scripted initrd paths

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iaaa48d692e400cf17e1ec7ad82e656716a6a6964
This commit is contained in:
NotAShelf
2026-05-31 14:35:46 +03:00
parent 73882115c0
commit 7b7b68f76c

View File

@@ -787,9 +787,10 @@ in
options = [ "mode=0755" ];
};
# Note that /dev/root is a symlink to the actual root device
# specified on the kernel command line, created in the stage 1
# init script.
# With systemd stage 1, the ISO is identified by its volume label.
# With the scripted stage 1, /dev/root is a symlink to the actual
# root device specified on the kernel command line, created by the
# stage 1 init script.
"/iso" = lib.mkImageMediaOverride {
device =
if config.boot.initrd.systemd.enable then