aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/bo/boot/tails_iso.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-08 01:43:23 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-08 01:43:23 +0200
commit3f47fe86cd4fa8b225c19ac29fdacc52e0b63255 (patch)
tree31c7eb2d5dfe8476c5a685a0aa021d4542392f25 /modules/by-name/bo/boot/tails_iso.nix
parentmodules/lf/keymaps: Avoid overriding the default `G` keymap (diff)
downloadnixos-config-3f47fe86cd4fa8b225c19ac29fdacc52e0b63255.zip
modules/boot/iso_entry: Correct the boot options
I've taken these directly from the grub.cfg and the /usr/init-tools/init files.
Diffstat (limited to '')
-rw-r--r--modules/by-name/bo/boot/tails_iso.nix14
1 files changed, 9 insertions, 5 deletions
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 <https://www.gnu.org/licenses/gpl-3.0.txt>.
{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"
'';
}