Skip to content

Commit

Permalink
iso-configuration: ensure /etc/nixos exists
Browse files Browse the repository at this point in the history
Probably related to NixOS/nixpkgs#247153
  • Loading branch information
tpwrules committed Sep 9, 2023
1 parent df870da commit 0c46f59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iso-configuration/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# copy the apple-silicon-support and installer configs into the iso
boot.postBootCommands = lib.optionalString config.installer.cloneConfig ''
if ! [ -e /etc/nixos/apple-silicon-support ]; then
mkdir -p /etc/nixos
cp ${./installer-configuration.nix} /etc/nixos/installer-configuration.nix
cp -r ${../apple-silicon-support} /etc/nixos/apple-silicon-support
fi
Expand Down

0 comments on commit 0c46f59

Please sign in to comment.