Enter configuration stage if nix
exists
This commit is contained in:
parent
c07961826e
commit
d1a8d08780
|
@ -67,6 +67,10 @@ function Start-InstallationLoop {
|
||||||
wsl -- sh `<`(curl -L https://nixos.org/nix/install`) --daemon --yes;
|
wsl -- sh `<`(curl -L https://nixos.org/nix/install`) --daemon --yes;
|
||||||
wsl --shutdown;
|
wsl --shutdown;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (& { wsl command -q nix; $?; }) {
|
||||||
|
Set-Stage ([SetupStage]::Configure);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$null = Import-Module PSWindowsUpdate;
|
$null = Import-Module PSWindowsUpdate;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue