Dump windows config for use during setup

This commit is contained in:
Manuel Thalmann 2024-07-28 11:26:13 +02:00
parent 3063ad189d
commit d9e32dd7cb

View file

@ -175,6 +175,16 @@ begin
mkdir -p "$projectPath"
source "$dir/../scripts/copy-repo.fish" "$projectPath"
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"
end