Set the hostname before installing NixOS
This commit is contained in:
parent
d54e818dc2
commit
b1cdf65e5a
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ OS_LABEL="${OS_LABEL}" \
|
|||
configRoot="$NIXOS_MOUNT_ROOT/etc/nixos";
|
||||
mkdir -p "$configRoot";
|
||||
git clone "$NIXOS_CONFIG_REPOSITORY" "$configRoot";
|
||||
hostname "$NIXOS_HOSTNAME";
|
||||
nixos-install;
|
||||
|
||||
popd > /dev/null;
|
||||
|
|
Loading…
Reference in a new issue