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
+6 −92
3 files changed
- M README.md +1 −2
- M arch_install.md +3 −48
- M arch_install.sh +2 −42
| @@ -1,3 +1,2 @@ | |||
| 1 | 1 | # arch-install | |
| 2 | − | arch linux install script with all my configs... | |
| 3 | − | forked from bugswriter. | |
| 2 | + | Base arch install script/guide | |
| @@ -108,67 +108,22 @@ grub-mkconfig -o /boot/grub/grub.cfg | |||
| 108 | 108 | ||
| 109 | 109 | 16. Install all the required user packages | |
| 110 | 110 | ``` | |
| 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 | |
| 122 | 112 | ``` | |
| 123 | 113 | ||
| 124 | 114 | 17. Enable networkmanager | |
| 125 | 115 | ``` | |
| 126 | − | # network manager | |
| 127 | 116 | systemctl enable NetworkManager.service | |
| 128 | 117 | ``` | |
| 129 | 118 | ||
| 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 | |
| 137 | 120 | ``` | |
| 138 | 121 | echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers | |
| 139 | 122 | ``` | |
| 140 | 123 | ||
| 141 | − | 20. Create user | |
| 124 | + | 19. Create user | |
| 142 | 125 | ``` | |
| 143 | 126 | useradd -m -G wheel -s /bin/zsh $username | |
| 144 | 127 | passwd $username | |
| 145 | 128 | ``` | |
| 146 | 129 | ||
| 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 | − | ``` | |
| @@ -57,52 +57,12 @@ sed -i 's/quiet/pci=noaer/g' /etc/default/grub | |||
| 57 | 57 | sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub | |
| 58 | 58 | grub-mkconfig -o /boot/grub/grub.cfg | |
| 59 | 59 | ||
| 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 | |
| 70 | 61 | ||
| 71 | 62 | systemctl enable NetworkManager.service | |
| 72 | − | rm /bin/sh | |
| 73 | − | ln -s dash /bin/sh | |
| 74 | − | # echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | |
| 75 | 63 | echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers | |
| 76 | 64 | printf "\e[0;34mEnter Username: \e[0m" | |
| 77 | 65 | read username | |
| 78 | 66 | useradd -m -G wheel -s /bin/zsh $username | |
| 79 | 67 | 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" | |