Personal Linux bootstrap + dotfiles repo.
This repo primarily targets:
- Arch Linux (KDE) via a separate set of scripts and package lists.
- Ubuntu via a dedicated installer + dotfile sync.
- Arch Linux (Hyprland/GNOME) via a shell “black box” installer. ( Inspired by the Arch Linux dotfiles from
mylinuxforwork/dotfiles(v2.9.1) and extended with additional configuration. )
- Quick start
- Arch KDE
- GRUB / Windows dual-boot notes (Arch KDE)
- Ubuntu
- Arch (shell installer)
- Repo layout
Clone the repo:
git clone https://github.com/Codesmith28/archConfig.git ~/archConfig
cd ~/archConfigTypical flow:
-
Install packages (official repos + AUR):
cd arch_kde/packages chmod +x installPackages.sh ./installPackages.sh -
Link dotfiles into your home directory:
cd arch_kde/dotfiles chmod +x sync.sh ./sync.sh -
(Optional) Install systemd services + helper executables:
cd arch_kde/setup_scripts chmod +x setup.sh ./setup.shThese include:
- battery-limit service
- disable acpi and pci wakeup service (so that only power button can wake the laptop)
- nvidia persistence mode service
-
(Optional) One-off helpers:
- Git + GitHub CLI: arch_kde/basics/setGit.sh ; configures user name, email, and SSH keys
- Docker: arch_kde/basics/setDocker.sh ; installs Docker, adds user to
dockergroup, and enables the Docker service - Restore GRUB: arch_kde/basics/restoreGrub.sh ; reinstalls GRUB bootloader and fixes it if not working
If GRUB is missing after a minimal install (or after something overwrote your EFI entry), you can run:
sudo bash arch_kde/basics/restoreGrub.shThat script runs:
sudo pacman -Sy grub efibootmgr dosfstools mtools
sudo grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
sudo grub-mkconfig -o /boot/grub/grub.cfg-
Install
os-prober:sudo pacman -S os-prober
-
Edit
/etc/default/gruband ensure this is set:GRUB_DISABLE_OS_PROBER=false
-
Regenerate the GRUB config:
sudo grub-mkconfig -o /boot/grub/grub.cfg
Ubuntu has a dedicated installer. After it completes, follow the printed “Next steps”.
cd ubuntu
./install.shRuns an ordered setup pipeline (pacman, packages, git, dotfiles, dev env, docker, etc.).
cd arch/black_box
chmod +x main.sh
./main.shNotes:
- Some steps require sudo.
- Docker group changes require a logout/login (or reboot).
- Wi‑Fi setup uses
nm-connection-editorand expects a GUI.
arch/— Arch Linux setup (shell + Ansible) and dotfilesarch_kde/— Arch KDE setup scripts + package listsubuntu/— Ubuntu installer, setup scripts, and dotfiles