1
Fork 0

Fix stuff

This commit is contained in:
Hadeed 2024-11-17 14:31:26 +05:00
parent 8286bb1dbc
commit 8d3c274161
3 changed files with 9 additions and 4 deletions

View file

@ -2,7 +2,7 @@
Run these commands before installation:
```sh
curl -fsSL -o ~/user_pkglist.txt https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user_pkglist.txt
curl -fsSL -o ~/user-commands-after.bash https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user-commands-after.bash
wget --output-document ~/user_pkglist https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user_pkglist.txt
wget --output-document ~/user_commands.bash https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user_commands.bash
chmod +x ~/user-commands-after.bash
```

View file

@ -5,7 +5,7 @@ USER_HOME=$(getent passwd "$USER" | cut -d: -f6)
echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" | EDITOR='tee -a' visudo
systemctl enable --now docker.service
systemctl enable docker.service
usermod -aG docker "$USER"
usermod --shell /usr/bin/zsh "$USER"
@ -16,15 +16,20 @@ su - "$USER" <<EOF
git clone https://git.hadeedahmad.com/hadeed/dots
cd dots
git remote set-url origin git@git.hadeedahmad.com:hadeed/dots
python bin/stow.py
EOF
cd "$USER_HOME"
rm -rf Desktop Documents Downloads Music Pictures Public Templates Videos
mkdir dl docs pics
su - "$USER" -c "xdg-user-dirs-update"
su - "$USER" <<EOF
pyenv install 3.13
pyenv global 3.13
EOF
mkdir "$USER_HOME/.ssh"
chmod 700 "$USER_HOME/.ssh"

View file

@ -6,7 +6,7 @@ kitty
neovim
pyenv
starship
tiny-xxd
tinyxxd
ttf-jetbrains-mono
ttf-nerd-fonts-symbols-common
xsel