diff options
author | Florian Klink <flokli@flokli.de> | 2019-08-17 23:57:52 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-08-19 16:34:06 +0200 |
commit | 0aa5e3165ca074ce55318cfddcf28e96b84828e3 (patch) | |
tree | 3aefa68d65c78e34db5b2ff35ac09e611718d150 /nixos/modules/installer | |
parent | f71fd79ff0759f6e85b386e6ae212b15047a6813 (diff) |
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.
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/cd-dvd/sd-image.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/installer/cd-dvd/sd-image.nix b/nixos/modules/installer/cd-dvd/sd-image.nix index 7f355a13249..07f6f627e6c 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; }; } |