Krolyxon
Commit afd01f7

Branches

Refs →

arch-installafd01f7

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
Author
krolxon
Date
2025-12-10 12:59 +0530
Parent
36f0c1e
Commit
afd01f78e8148e83c42b560aae7cc824988c26cb

+6 −92

3 files changed

  1. M README.md +1 −2
  2. M arch_install.md +3 −48
  3. M arch_install.sh +2 −42
M README.md View
@@ -1,3 +1,2 @@
11 # arch-install
2−arch linux install script with all my configs...
3−forked from bugswriter.
2+Base arch install script/guide
M arch_install.md View
@@ -108,67 +108,22 @@ grub-mkconfig -o /boot/grub/grub.cfg
108108
109109 16. Install all the required user packages
110110 ```
111−pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprshot gammastep swaync \
112− noto-fonts noto-fonts-emoji noto-fonts-cjk ttf-jetbrains-mono-nerd ttf-font-awesome \
113− awesome-terminal-fonts bat libnotify ntfs-3g \
114− jq mpv ncdu transmission-cli yt-dlp cowsay \
115− pacman-contrib pavucontrol rsync ripgrep python-pywal \
116− imlib2 zip unzip wget pcmanfm gvfs xarchiver lf chafa stow fuzzel\
117− fzf man-db pipewire pipewire-pulse pamixer kanshi \
118− imagemagick networkmanager git dash papirus-icon-theme \
119− neovim lua xdg-user-dirs mpd ncmpcpp eza \
120− zsh zsh-autosuggestions zathura zathura-pdf-mupdf
121−
111+pacman -S --noconfirm networkmanager git
122112 ```
123113
124114 17. Enable networkmanager
125115 ```
126−# network manager
127116 systemctl enable NetworkManager.service
128117 ```
129118
130−18. set shell
131−```
132−rm /bin/sh
133−ln -s dash /bin/sh
134−```
135−
136−19. Set user permissions
119+18. Set user permissions
137120 ```
138121 echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers
139122 ```
140123
141−20. Create user
124+19. Create user
142125 ```
143126 useradd -m -G wheel -s /bin/zsh $username
144127 passwd $username
145128 ```
146129
147−21. Setup dotfiles
148−```
149−cd $HOME
150−git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/
151−cd ~/.dotfiles; stow .
152−```
153−
154−22. nsxiv: image viewer
155−```
156−git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv
157−sudo make -C ~/.local/src/nsxiv install
158−```
159−
160−23. nvim: Text editor
161−```
162−git clone --depth=1 git@github.com:krolyxon/nvim.git ~/.config/nvim
163−```
164−
165−24. paru: AUR helper
166−```
167−git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -sri && cd .. && rm -rf paru-bin
168−paru -S --noconfirm htop-vim zsh-fast-syntax-highlighting-git keyd-git zen-browser-bin
169−```
170−
171−25. set zsh as default shell
172−```
173−chsh -s $(which zsh)
174−```
M arch_install.sh View
@@ -57,52 +57,12 @@ sed -i 's/quiet/pci=noaer/g' /etc/default/grub
5757 sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub
5858 grub-mkconfig -o /boot/grub/grub.cfg
5959
60−pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprshot gammastep swaync \
61− noto-fonts noto-fonts-emoji noto-fonts-cjk ttf-jetbrains-mono-nerd ttf-font-awesome \
62− awesome-terminal-fonts bat libnotify ntfs-3g \
63− jq mpv ncdu transmission-cli yt-dlp cowsay \
64− pacman-contrib pavucontrol rsync ripgrep python-pywal \
65− imlib2 zip unzip wget pcmanfm gvfs xarchiver lf chafa stow fuzzel\
66− fzf man-db pipewire pipewire-pulse pamixer kanshi \
67− imagemagick networkmanager git dash papirus-icon-theme \
68− neovim lua xdg-user-dirs mpd ncmpcpp eza \
69− zsh zsh-autosuggestions zathura zathura-pdf-mupdf
60+pacman -S --noconfirm networkmanager git
7061
7162 systemctl enable NetworkManager.service
72−rm /bin/sh
73−ln -s dash /bin/sh
74−# echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
7563 echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers
7664 printf "\e[0;34mEnter Username: \e[0m"
7765 read username
7866 useradd -m -G wheel -s /bin/zsh $username
7967 passwd $username
80−echo "Pre-Installation Finish Reboot now"
81−ai3_path=/home/$username/arch_install3.sh
82−sed '1,/^#part3/d' arch_install2.sh > $ai3_path
83−chown $username:$username $ai3_path
84−chmod +x $ai3_path
85−su -c $ai3_path -s /bin/sh $username
86−exit
87−
88−#part3
89−printf '\033c'
90−cd $HOME
91−git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/
92−cd ~/.dotfiles; stow .
93−
94−
95−## nsxiv: image viewer
96−git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv
97−sudo make -C ~/.local/src/nsxiv install
98−
99−## nvim: Text editor
100−git clone --depth=1 git@github.com:krolyxon/nvim.git ~/.config/nvim
101−
102−# paru: AUR helper
103−git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -sri && cd .. && rm -rf paru-bin
104−paru -S --noconfirm htop-vim \
105− zsh-fast-syntax-highlighting keyd-git zen-browser-bin
106−
107−chsh -s $(which zsh)
108−exit
68+echo "Installation Finish Reboot now"