exclude dot files when extracting top-level flake

hetzner-flakes
Alexander Tomokhov 2023-11-21 00:57:54 +04:00
parent 73b5863968
commit bc0f59695c
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ echo '// { users.users.root.hashedPassword = "$6$I8xOgBRfitytj331$WZzyJbABCY8LZ4
setupConf() {
mkdir -p ${LOCAL_FLAKE_DIR}
if ! curl "${CONFIG_URL}" | tar -xz -C ${LOCAL_FLAKE_DIR} --strip-components=1
if ! curl "${CONFIG_URL}" \
| tar -xz -C ${LOCAL_FLAKE_DIR} --strip-components=1 --exclude=".*"
then
echo "Error downloading/extracting top level flake configuration!"
exit 1