diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-09-05 15:12:28 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-09-05 15:12:28 +0200 |
| commit | faa48c084a3ac27b00402b40e81b814d5fd699eb (patch) | |
| tree | 782852c2530c62037e321f21423a19b7d44bfb56 /modules/by-name | |
| parent | hosts/apzu: Enable power saving again (but this time with tuned) (diff) | |
| download | nixos-config-faa48c084a3ac27b00402b40e81b814d5fd699eb.zip | |
modules/boot: Try another set of options for booting the tails iso
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/bo/boot/module.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/by-name/bo/boot/module.nix b/modules/by-name/bo/boot/module.nix index 80a47420..86ad58da 100644 --- a/modules/by-name/bo/boot/module.nix +++ b/modules/by-name/bo/boot/module.nix @@ -22,7 +22,7 @@ tails = let tailsPrefix = "/EFI/tails"; in { - root = "${tailsPrefix}/tails.iso"; + iso = "${tailsPrefix}/tails.iso"; initrd = "${tailsPrefix}/initrd.img"; vmlinuz = "${tailsPrefix}/vmlinuz-linux"; }; @@ -85,7 +85,7 @@ # Don't store things persistently "nopersistence" - "fromiso=/dev/nvme0n1p1/${tails.root}" + "fromiso=/dev/nvme0n1p1/${tails.iso}" ]; in { options.soispha.boot = { @@ -154,10 +154,10 @@ in { }; install = pkgs.writeShellScript "wrapped-install-tails-iso-marker" '' - echo "[Wrapped bootloader install] Copying tails iso..." + echo "Wrapped bootloader install> Copying tails iso..." ${copyExtraFiles} - echo "[Wrapped bootloader install] Running original lanzaboote install..." + echo "Wrapped bootloader install> Running original lanzaboote install..." ${lanzabooteInstallHook.config.boot.loader.external.installHook} ''; @@ -203,14 +203,14 @@ in { title Tails ${iso.passthru.version} Live ISO linux ${tails.vmlinuz} initrd ${tails.initrd} - options ${builtins.concatStringsSep " " iso_options} + options boot=casper iso-scan/filename=${tails.iso} noeject noprompt ''; }; extraFiles = { # TODO: Check that the ISO we use for booting is _actually_ still the one we # copied there (someone might exchange it in between) <2026-06-09> - "${tails.root}" = "${iso}/tails.iso"; + "${tails.iso}" = "${iso}/tails.iso"; "${tails.vmlinuz}" = "${iso}/live/vmlinuz-linux"; "${tails.initrd}" = "${iso}/live/initrd.img"; }; |
