Skip to main content

WSL

Basic setup

Follow docs on Arch Wiki.

Create user

pacman -S sudo
useradd -m -g users -G wheel thomas
passwd thomas

Uncomment %wheel ALL=(ALL) ALL in /etc/sudoers.

Also add user to /etc/wsl.conf as specified in docs above.

Install yay

Install yay.

Also update /etc/makepkg.conf to remove debug from OPTIONS. Otherwise, we always install some debug packages.

SSH

Enable OpenSSH service (and auto-start) in Windows services.

Install wsl2-ssh-agent as described on Arch Wiki.

May also need to do ssh-add .../path on Windows for ssh-agent.exe.