Enter configuration stage if nix exists

This commit is contained in:
Manuel Thalmann 2024-08-01 16:28:48 +02:00
parent 73ca5018b2
commit e868255996

View file

@ -68,6 +68,10 @@ function Start-InstallationLoop {
wsl -- sh `<`(curl -L https://nixos.org/nix/install`) --daemon --yes;
wsl --shutdown;
}
if (& { wsl command -q nix; $?; }) {
Set-Stage ([SetupStage]::Configure);
}
} else {
$null = Import-Module PSWindowsUpdate;