1.7 KiB
1.7 KiB
Setup ArchLinux in WSL
Sources
Setup User
Set root password
passwd
Install sudo
pacman -Syu
pacman -S sudo nvim vi nano
groupadd sudo
visudo # Uncomment %sudo ...
Create the user
useradd -u 1000 -g 1000 -m -s /bin/bash woelke
usermod -aG sudo woelke
Set a password
passwd woelke
Set wsl default user and restart wsl in powershell via wsl --terminate archlinux
tee -a /etc/wsl.conf <<'EOF'
[user]
default=woelke
EOF
Neovim Setup
Setup ssh access to https://gitea.der-seb.space
ssh-keygen ...
tee -a /home/woelke/.ssh/config <<'EOF'
Host gitea.der-seb.space
User git
HostName gitea.der-seb.space
IdentitiesOnly yes
IdentityFile ~/.ssh/gitea-der-seb-space-access
EOF
- yay
- tools
- zsh
- vim
- git cannot be installed!!!!
TODOs
Fix README
git clone ssh://git@gitea.der-seb.space:2222/seb/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./bootstrap.sh
Redesign bootstrap: .profil and .zprofile seems to some problems, e.g. .profile is only loaded as fallback,
Fix gitconfig?
.dotfiles / tools / docker and dockercompse cannot be installed
run and fix dotfiles install zsh scripts
faield: dotfiles install vim scripts 2 ----> "./install_plugins.sh",
write down in which order we should run the dotfiles scirpts yay, tools zsh vim ...
- Install OhMyZsh <--- problem: git clone git@github.com:woelke/dotfiles.git ~/.dotfiles
arch linux wsl docs
- 2.2 Open URLs in the WSL hosts browser
- 2.3 Run graphical applications with WSLg