Dump windows config for use during setup
This commit is contained in:
parent
3063ad189d
commit
d9e32dd7cb
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue