From a0bee59a28e828abd0677b34f7743bdbb3237b5b Mon Sep 17 00:00:00 2001 From: randogoth Date: Sun, 1 Feb 2026 20:30:52 +0200 Subject: [PATCH] Bind flake into /etc/nixos on installer --- hosts/installer.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/hosts/installer.nix b/hosts/installer.nix index d7118f7..1f8b7a9 100644 --- a/hosts/installer.nix +++ b/hosts/installer.nix @@ -18,11 +18,6 @@ ${builtins.readFile ../docs/install-help.txt} Login: \l ''; - # Include the flake and installer script on the ISO. - isoImage.contents = [ - { - source = ../.; - target = "/etc/nixos"; - } - ]; + # Place the flake (including scripts) under /etc/nixos in the live system. + environment.etc."nixos".source = ../.; }