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.
This commit is contained in:
parent
f71fd79ff0
commit
0aa5e3165c
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue