From 9e41cdf270c58df766eb6560466af0a9d6467f1d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 28 Nov 2023 01:45:49 +0100 Subject: [PATCH] Set the hostname before installing NixOS --- scripts/NixOS/OS/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/NixOS/OS/setup.sh b/scripts/NixOS/OS/setup.sh index 817317c4..c9c7fccb 100755 --- a/scripts/NixOS/OS/setup.sh +++ b/scripts/NixOS/OS/setup.sh @@ -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;