winget does not support it, run as follows
In WSL shell
explorer.exe .z "$(wslpath 'G:\GoogleDrive')"wsl --user rootUse NixOS.
You should remember that does not have /etc/nixos/hardware-configuration.nix and the default username is nixos.
wsl.exe --install --no-distribution
curl -OL "https://github.com/nix-community/NixOS-WSL/archive/refs/heads/release-26.05.tar.gz"
wsl.exe --import NixOS $env:USERPROFILE\NixOS\ nixos-wsl.tar.gz
wsl.exe --distribution "NixOS"sudo nix-channel --updatewsl.exe --install "Ubuntu-26.04"
wsl.exe --distribution "Ubuntu-26.04"Setup nix and activate home-manager as written in README with user@wsl-ubuntu
Disable cgroup v1 as putting .wslconfig and restart for setting up podman
winit-conf.exe generate -path=windows/WSL/.wslconfig > %UserProfile%\.wslconfig
wsl.exe --shutdown