From d9e32dd7cbf783873c8cb1454bb3852a258d626e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 28 Jul 2024 11:26:13 +0200 Subject: [PATCH] Dump windows config for use during setup --- winiso/deploy.fish | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/winiso/deploy.fish b/winiso/deploy.fish index d9df3a39..a036e854 100644 --- a/winiso/deploy.fish +++ b/winiso/deploy.fish @@ -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