Test and improvments
This commit is contained in:
39
README.md
39
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,20 +79,10 @@ 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
|
||||
- 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
|
||||
|
||||
* wsl always starts bash
|
||||
* run `wsl zsh` (might break neovide??)
|
||||
|
||||
|
||||
* try to run neovide naively on windows and connect it wsl neovide???
|
||||
* might fix neovide exceptions
|
||||
- wsl always starts bash
|
||||
- run `wsl zsh` (might break neovide??)
|
||||
|
||||
Reference in New Issue
Block a user