From 3f47fe86cd4fa8b225c19ac29fdacc52e0b63255 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 8 Jun 2026 01:43:23 +0200 Subject: modules/boot/iso_entry: Correct the boot options I've taken these directly from the grub.cfg and the /usr/init-tools/init files. --- modules/by-name/bo/boot/tails_iso.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'modules/by-name/bo/boot/tails_iso.nix') diff --git a/modules/by-name/bo/boot/tails_iso.nix b/modules/by-name/bo/boot/tails_iso.nix index ec2b740b..03f97577 100644 --- a/modules/by-name/bo/boot/tails_iso.nix +++ b/modules/by-name/bo/boot/tails_iso.nix @@ -8,9 +8,10 @@ # You should have received a copy of the License along with this program. # If not, see . {pkgs ? (builtins.getFlake "nixpkgs").legacyPackages."x86_64-linux"}: let + version = "7.8"; checked_iso = pkgs.stdenv.mkDerivation (finalAttrs: { pname = "tails-iso"; - version = "amd64-7.8"; + version = "amd64-${version}"; srcs = [ (pkgs.fetchurl { @@ -69,10 +70,13 @@ in bsdtar -xf "$src" -C iso ''; - installPhase = '' - install -D ./iso/live/initrd.img "$out/live/initramfs-linux.img" - install -D ./iso/live/vmlinuz "$out/live/vmlinuz-linux" + passthru = { + inherit version; + }; - install -D "$src" "$out/tails.iso" + installPhase = '' + install -D ./iso/live/initrd.img "$out/live/initrd.img" + install -D ./iso/live/vmlinuz "$out/live/vmlinuz" + install -D ./iso/live/filesystem.squashfs "$out/live/filesystem.squashfs" ''; } -- cgit v1.3.1