From 21c1c29361ffbd54d1fd4ed01c8e617436466e89 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 11 May 2024 19:51:11 +0200 Subject: fix(sys/boot): Include a parameter for the device the iso is stored on --- sys/boot/default.nix | 2 +- sys/disks/default.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/boot/default.nix b/sys/boot/default.nix index d8f67fa3..68c6454a 100644 --- a/sys/boot/default.nix +++ b/sys/boot/default.nix @@ -97,7 +97,7 @@ in { title Archlinux Live ISO linux /live/vmlinuz-linux initrd /live/initramfs-linux.img - options img_loop=/archlinux.iso copytoram + options img_dev=${config.soispha.disks.disk} img_loop=/archlinux.iso copytoram ''; }; diff --git a/sys/disks/default.nix b/sys/disks/default.nix index 97c1fc4f..a9dfd7e9 100644 --- a/sys/disks/default.nix +++ b/sys/disks/default.nix @@ -16,7 +16,9 @@ in { disk = lib.mkOption { type = lib.types.path; example = lib.literalExpression "/dev/disk/by-uuid/0442cb6d-f13a-4635-b487-fa76189774c5"; - description = lib.mdDoc "The disk used for installing the OS"; + description = '' + The disk used for installing the OS. + ''; }; ssd = lib.mkOption { type = lib.types.bool; -- cgit 1.4.1