diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-11 19:51:11 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-11 19:51:11 +0200 |
commit | 21c1c29361ffbd54d1fd4ed01c8e617436466e89 (patch) | |
tree | ff3928a93dc7fc62259b988899d67f78960ad089 | |
parent | fix(sys/boot): Use a disk backed directory to store the big iso (diff) | |
download | nixos-config-21c1c29361ffbd54d1fd4ed01c8e617436466e89.tar.gz nixos-config-21c1c29361ffbd54d1fd4ed01c8e617436466e89.zip |
fix(sys/boot): Include a parameter for the device the iso is stored on
Diffstat (limited to '')
-rw-r--r-- | sys/boot/default.nix | 2 | ||||
-rw-r--r-- | 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; |