Enter configuration stage if nix
exists
This commit is contained in:
parent
6612b9e7d4
commit
5b0074bea9
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue