From 0aa5e3165ca074ce55318cfddcf28e96b84828e3 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 17 Aug 2019 23:57:52 +0200 Subject: sd-image.nix: set installer.cloneConfig to false As SD Card images are both installation media and installation target, don't copy over a /etc/nixos/configuration.nix Closes #63576. --- nixos/modules/installer/cd-dvd/sd-image.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/modules/installer') diff --git a/nixos/modules/installer/cd-dvd/sd-image.nix b/nixos/modules/installer/cd-dvd/sd-image.nix index 7f355a132496..07f6f627e6c0 100644 --- a/nixos/modules/installer/cd-dvd/sd-image.nix +++ b/nixos/modules/installer/cd-dvd/sd-image.nix @@ -194,5 +194,9 @@ in rm -f /nix-path-registration fi ''; + + # the installation media is also the installation target, + # so we don't want to provide the installation configuration.nix. + installer.cloneConfig = false; }; } -- cgit 1.4.1