diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 4e7d060c..af0a8958 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -67,6 +67,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;