From 8b3494d282b10a4fae77a854c2b58767a3d03186 Mon Sep 17 00:00:00 2001 From: randogoth Date: Sun, 1 Feb 2026 20:25:51 +0200 Subject: [PATCH] Embed flake into installer ISO --- hosts/installer.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/installer.nix b/hosts/installer.nix index 492298a..d7118f7 100644 --- a/hosts/installer.nix +++ b/hosts/installer.nix @@ -17,4 +17,12 @@ ${builtins.readFile ../docs/install-help.txt} Login: \l ''; + + # Include the flake and installer script on the ISO. + isoImage.contents = [ + { + source = ../.; + target = "/etc/nixos"; + } + ]; }