Skip to content

ilorez/auto

Repository files navigation

Arch Linux Auto-Setup

Automated setup scripts for Arch Linux environments (physical/virtual). Quickly configure your system with i3, Zsh, Neovim, and development tools.

Repo URL:
https://github.com/ilorez/auto.git

📦 Features

  • i3 Window Manager configuration
  • Oh My Zsh with custom plugins/aliases
  • Neovim IDE setup with plugins
  • Git/SSH configuration
  • User management
  • DNS configuration (Google/Cloudflare)
  • yay AUR helper installation
  • Go programming language

⚙️ Dotfiles Management

  • Automatic deployment of:
    • i3 window manager config
    • i3status configuration
    • Alacritty terminal settings
  • Future-proof structure for additional configs
  • Preserves existing files during setup

🚀 Bootstrap Installation

On Fresh Arch System (No Git Available)

  1. As root, run these commands to install dependencies and fetch the repo:
pacman -Sy --noconfirm curl unzip && \
curl -L https://github.com/ilorez/auto/archive/refs/heads/main.zip -o autosetup.zip && \
unzip autosetup.zip -d /root/ && mv /root/auto-main /root/auto-setup && \
chmod +x /root/auto-setup/auto*.sh
  1. Run the setup sequence:
cd /root/auto-setup
sudo ./auto1_install_packages.sh      # Base packages
sudo ./auto2_create_user.sh           # Create user
su - ilorez                           # Switch to new user
cd /root/auto-setup
./auto3_setup_git.sh                  # Git & SSH
./auto4_setup_shell.sh                # Zsh & i3
./auto5_install_nvim.sh               # Neovim

🛠️ Script Overview

Script Purpose Run As
auto1_install_packages.sh Install core system packages root
auto2_create_user.sh Create user & configure sudo root
auto3_setup_git.sh Configure Git & SSH keys user
auto4_setup_shell.sh Install Zsh & i3 config user
auto5_install_nvim.sh Neovim IDE setup user
auto6_network_packages.sh DNS conf & Install yay go user

🔄 For Existing Setups (With Git)

git clone https://github.com/ilorez/auto.git
cd auto
chmod +x auto*.sh
# Follow installation sequence above

⚠️ Important Notes

  1. Internet connection required during setup
  2. After complete setup:
    sudo pacman -Syu (update system)
  3. First Neovim launch will auto-install plugins
  4. SSH key generated in auto3 needs manual GitHub addition

🖥️ Post-Install

  • Start i3: startx
  • Configure wifi: wifi alias (runs nmtui)

🔄 Updating Dotfiles

cd ~/.dotfiles
git pull
rsync -av --update --ignore-existing .config/ ~/.config/

🚀 Installation Sequence

  1. auth1_install_packages.sh
  2. auth2_create_user.sh
  3. auth3_setup_git.sh
  4. auth4_setup_shell.sh
  5. auth5_install_nvim.sh
  6. auth6_network_packages.sh

About

auto scipts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages