1
Fork 0

Fix stuff

This commit is contained in:
Hadeed 2024-11-17 14:31:26 +05:00
parent 8286bb1dbc
commit 3f613fab1b
3 changed files with 10 additions and 5 deletions

View file

@ -2,7 +2,7 @@
Run these commands before installation: Run these commands before installation:
```sh ```sh
curl -fsSL -o ~/user_pkglist.txt https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user_pkglist.txt wget --output-document ~/user_pkglist 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_commands.bash https://git.hadeedahmad.com/hadeed/dots/raw/branch/main/user_commands.bash
chmod +x ~/user-commands-after.bash chmod +x ~/user_commands.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 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 -aG docker "$USER"
usermod --shell /usr/bin/zsh "$USER" usermod --shell /usr/bin/zsh "$USER"
@ -16,15 +16,20 @@ su - "$USER" <<EOF
git clone https://git.hadeedahmad.com/hadeed/dots git clone https://git.hadeedahmad.com/hadeed/dots
cd dots cd dots
git remote set-url origin git@git.hadeedahmad.com:hadeed/dots
python bin/stow.py python bin/stow.py
EOF EOF
cd "$USER_HOME" cd "$USER_HOME"
rm -rf Desktop Documents Downloads Music Pictures Public Templates Videos rm -rf Desktop Documents Downloads Music Pictures Public Templates Videos
mkdir dl docs pics
su - "$USER" -c "xdg-user-dirs-update" su - "$USER" -c "xdg-user-dirs-update"
su - "$USER" <<EOF su - "$USER" <<EOF
pyenv install 3.13 pyenv install 3.13
pyenv global 3.13 pyenv global 3.13
EOF EOF
mkdir "$USER_HOME/.ssh"
chmod 700 "$USER_HOME/.ssh"

View file

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