minimize the config

minimizing this script, since i am moving setting up all the personal
packages and configurations to
https://github.com/krolyxon/dotfiles/blob/master/install.sh
This commit is contained in:
krolxon 2025-12-10 12:59:15 +05:30
parent 36f0c1e591
commit afd01f78e8
3 changed files with 6 additions and 92 deletions

View File

@ -1,3 +1,2 @@
# arch-install
arch linux install script with all my configs...
forked from bugswriter.
Base arch install script/guide

View File

@ -108,67 +108,22 @@ grub-mkconfig -o /boot/grub/grub.cfg
16. Install all the required user packages
```
pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprshot gammastep swaync \
noto-fonts noto-fonts-emoji noto-fonts-cjk ttf-jetbrains-mono-nerd ttf-font-awesome \
awesome-terminal-fonts bat libnotify ntfs-3g \
jq mpv ncdu transmission-cli yt-dlp cowsay \
pacman-contrib pavucontrol rsync ripgrep python-pywal \
imlib2 zip unzip wget pcmanfm gvfs xarchiver lf chafa stow fuzzel\
fzf man-db pipewire pipewire-pulse pamixer kanshi \
imagemagick networkmanager git dash papirus-icon-theme \
neovim lua xdg-user-dirs mpd ncmpcpp eza \
zsh zsh-autosuggestions zathura zathura-pdf-mupdf
pacman -S --noconfirm networkmanager git
```
17. Enable networkmanager
```
# network manager
systemctl enable NetworkManager.service
```
18. set shell
```
rm /bin/sh
ln -s dash /bin/sh
```
19. Set user permissions
18. Set user permissions
```
echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers
```
20. Create user
19. Create user
```
useradd -m -G wheel -s /bin/zsh $username
passwd $username
```
21. Setup dotfiles
```
cd $HOME
git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/
cd ~/.dotfiles; stow .
```
22. nsxiv: image viewer
```
git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv
sudo make -C ~/.local/src/nsxiv install
```
23. nvim: Text editor
```
git clone --depth=1 git@github.com:krolyxon/nvim.git ~/.config/nvim
```
24. paru: AUR helper
```
git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -sri && cd .. && rm -rf paru-bin
paru -S --noconfirm htop-vim zsh-fast-syntax-highlighting-git keyd-git zen-browser-bin
```
25. set zsh as default shell
```
chsh -s $(which zsh)
```

View File

@ -57,52 +57,12 @@ sed -i 's/quiet/pci=noaer/g' /etc/default/grub
sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg
pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprshot gammastep swaync \
noto-fonts noto-fonts-emoji noto-fonts-cjk ttf-jetbrains-mono-nerd ttf-font-awesome \
awesome-terminal-fonts bat libnotify ntfs-3g \
jq mpv ncdu transmission-cli yt-dlp cowsay \
pacman-contrib pavucontrol rsync ripgrep python-pywal \
imlib2 zip unzip wget pcmanfm gvfs xarchiver lf chafa stow fuzzel\
fzf man-db pipewire pipewire-pulse pamixer kanshi \
imagemagick networkmanager git dash papirus-icon-theme \
neovim lua xdg-user-dirs mpd ncmpcpp eza \
zsh zsh-autosuggestions zathura zathura-pdf-mupdf
pacman -S --noconfirm networkmanager git
systemctl enable NetworkManager.service
rm /bin/sh
ln -s dash /bin/sh
# echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers
printf "\e[0;34mEnter Username: \e[0m"
read username
useradd -m -G wheel -s /bin/zsh $username
passwd $username
echo "Pre-Installation Finish Reboot now"
ai3_path=/home/$username/arch_install3.sh
sed '1,/^#part3/d' arch_install2.sh > $ai3_path
chown $username:$username $ai3_path
chmod +x $ai3_path
su -c $ai3_path -s /bin/sh $username
exit
#part3
printf '\033c'
cd $HOME
git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/
cd ~/.dotfiles; stow .
## nsxiv: image viewer
git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv
sudo make -C ~/.local/src/nsxiv install
## nvim: Text editor
git clone --depth=1 git@github.com:krolyxon/nvim.git ~/.config/nvim
# paru: AUR helper
git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -sri && cd .. && rm -rf paru-bin
paru -S --noconfirm htop-vim \
zsh-fast-syntax-highlighting keyd-git zen-browser-bin
chsh -s $(which zsh)
exit
echo "Installation Finish Reboot now"