Test and improvments

This commit is contained in:
2026-03-19 14:07:11 +01:00
parent 2d7ed71733
commit a6fee9f612

View File

@@ -4,6 +4,15 @@
- [arch linux wsl docs](https://wiki.archlinux.org/title/Install_Arch_Linux_on_WSL) - [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 ## Setup User
Set root password Set root password
@@ -34,7 +43,7 @@ Set a password
passwd woelke passwd woelke
``` ```
Set wsl default user and restart wsl in powershell via `wsl --terminate archlinux` Set wsl default user
```sh ```sh
tee -a /etc/wsl.conf <<'EOF' tee -a /etc/wsl.conf <<'EOF'
@@ -44,6 +53,12 @@ default=woelke
EOF EOF
``` ```
Restart wsl archlinux from a powerhsell
```powershell
wsl --terminate archlinux
```
## Setup Dotfiles ## Setup Dotfiles
Setup ssh access to https://gitea.der-seb.space Setup ssh access to https://gitea.der-seb.space
@@ -64,17 +79,20 @@ EOF
## Knows Problems ## Knows Problems
* Installation error: docker, docker-compose - 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, - 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 - Disable wsl-integration in Docker Destkop Settings
* Remove docker, docker-desktop symlinks - Remove docker, docker-desktop symlinks
* wsl always starts bash
* run `wsl zsh` (might break neovide??)
- wsl always starts bash
- run `wsl zsh` (might break neovide??)
## TODOs ## TODOs
Bridge the ssh-agent service from Windows
https://wiki.archlinux.org/title/Install_Arch_Linux_on_WSL
* wsl always starts bash * wsl always starts bash
* run `wsl zsh` (might break neovide??) * run `wsl zsh` (might break neovide??)