Dump windows config for use during setup

This commit is contained in:
Manuel Thalmann 2024-07-28 11:26:13 +02:00
parent cddae6ef2b
commit 69b934c3d0

View file

@ -175,6 +175,16 @@ begin
mkdir -p "$projectPath" mkdir -p "$projectPath"
source "$dir/../scripts/copy-repo.fish" "$projectPath" source "$dir/../scripts/copy-repo.fish" "$projectPath"
rm -rf "$projectPath/archiso" rm -rf "$projectPath/archiso"
begin
source "$dir/../scripts/Common/Scripts/config.fish"
find "$projectPath/profiles" -type f -name "*.nix" | while read -l file
set -l CONFIG_MODULE "$file"
getConfig "valhalla.windows" --json > "$file.json"
end
end
chmod -R u-w "$rootDir" chmod -R u-w "$rootDir"
end end