diff --git a/README.md b/README.md index 415bfd2..c74de89 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,15 @@ - [arch linux wsl docs](https://wiki.archlinux.org/title/Install_Arch_Linux_on_WSL) +## Prepare wsl arch linux image + +```powershell +wsl --update +wsl --install archlinux +wsl --set-default archlinux +wsl --list --all # check settings +``` + ## Setup User Set root password @@ -34,7 +43,7 @@ Set a password passwd woelke ``` -Set wsl default user and restart wsl in powershell via `wsl --terminate archlinux` +Set wsl default user ```sh tee -a /etc/wsl.conf <<'EOF' @@ -44,6 +53,12 @@ default=woelke EOF ``` +Restart wsl archlinux from a powerhsell + +```powershell +wsl --terminate archlinux +``` + ## Setup Dotfiles Setup ssh access to https://gitea.der-seb.space @@ -64,17 +79,20 @@ EOF ## Knows Problems -* Installation error: docker, docker-compose - * When Docker Desktop is installed on the host system, it might try to link its docker and docker-compose setup to the arch linux instance, - * Disable wsl-integration in Docker Destkop Settings - * Remove docker, docker-desktop symlinks - -* wsl always starts bash - * run `wsl zsh` (might break neovide??) +- Installation error: docker, docker-compose + - When Docker Desktop is installed on the host system, it might try to link its docker and docker-compose setup to the arch linux instance, + - Disable wsl-integration in Docker Destkop Settings + - Remove docker, docker-desktop symlinks +- wsl always starts bash + - run `wsl zsh` (might break neovide??) ## TODOs +Bridge the ssh-agent service from Windows + https://wiki.archlinux.org/title/Install_Arch_Linux_on_WSL + + * wsl always starts bash * run `wsl zsh` (might break neovide??)