WSL and distros
Documentation on how to install WSL2 on Windows as well as my used distros.
Instalation
Install WSL on Windows (run in Admin Powershell):
wsl --install
NixOS
Download nixos.wsl from GitHub
Install it using:
wsl --install --from-file nixos.wsl
Then update the system:
sudo nix-channel --update
sudo nixos-rebuild switch
All of your config should be in /etc/nixos/configuration.nix
More documentation on NixOS